home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Tool Chest / Testing & Debugging / Mac OS Development Toolkit / Automation Essentials 2.3.0 / • Other Stuff / Cool SPEC Documents / HitchHiker's Guide 1.1 < prev    next >
MacBinary  |  1998-03-19  |  802.8 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PageFocus Data (other/pageFocusData) ext Unsupported
1% dexvert Banyans VINES patch data (other/banyansVINESPatchData) ext Unsupported
100% file MacBinary II, Thu May 12 08:13:51 1994, modified Thu Mar 19 14:04:11 1998, creator 'HLX2', type 'ONLN', 798543 bytes "HitchHiker's Guide 1.1" , at 0xc2fcf 23195 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 48 69 74 63 68 48 | 69 6b 65 72 27 73 20 47 |..HitchH|iker's G|
|00000010| 75 69 64 65 20 31 2e 31 | 00 00 00 00 00 00 00 00 |uide 1.1|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 00 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 0c 2f 4f 00 | 00 5a 9b a9 f7 cd ff b1 |...../O.|.Z......|
|00000060| 37 1c ab 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |7.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d6 a5 00 00 |........|........|
|00000080| 54 68 65 20 48 69 74 63 | 68 48 69 6b 65 72 27 73 |The Hitc|hHiker's|
|00000090| 20 47 75 69 64 65 0d 74 | 6f 20 53 50 45 43 20 53 | Guide.t|o SPEC S|
|000000a0| 26 4c 20 76 2e 31 2e 31 | 0d 44 6f 63 75 6d 65 6e |&L v.1.1|.Documen|
|000000b0| 74 20 56 65 72 73 69 6f | 6e 20 31 2e 30 0d 20 0d |t Versio|n 1.0. .|
|000000c0| 43 6f 6e 74 65 6e 74 73 | 0d 41 62 6f 75 74 20 54 |Contents|.About T|
|000000d0| 68 69 73 20 44 6f 63 75 | 6d 65 6e 74 20 20 20 20 |his Docu|ment |
|000000e0| 20 37 0d 49 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 | 7.Intro|duction |
|000000f0| 20 20 20 20 39 0d 41 75 | 74 6f 6d 61 74 69 6f 6e | 9.Au|tomation|
|00000100| 20 4f 76 65 72 76 69 65 | 77 20 20 20 20 20 39 0d | Overvie|w 9.|
|00000110| 53 50 45 43 20 53 26 4c | 20 4f 76 65 72 76 69 65 |SPEC S&L| Overvie|
|00000120| 77 20 20 20 20 20 39 0d | 50 61 72 74 20 49 20 d0 |w 9.|Part I .|
|00000130| 20 45 78 65 63 75 74 69 | 6f 6e 0d 53 65 74 75 70 | Executi|on.Setup|
|00000140| 20 26 20 45 78 65 63 75 | 74 69 6f 6e 20 20 20 20 | & Execu|tion |
|00000150| 20 31 33 0d 54 61 72 67 | 65 74 20 53 65 74 75 70 | 13.Targ|et Setup|
|00000160| 20 20 20 20 20 31 33 0d | 48 6f 73 74 20 20 20 20 | 13.|Host |
|00000170| 20 31 34 0d 54 68 65 20 | 43 6c 6f 6e 69 6e 67 20 | 14.The |Cloning |
|00000180| 50 72 6f 63 65 73 73 20 | 20 20 20 20 31 34 0d 50 |Process | 14.P|
|00000190| 61 72 74 20 49 49 20 d0 | 20 44 65 76 65 6c 6f 70 |art II .| Develop|
|000001a0| 6d 65 6e 74 0d 43 6f 6d | 70 61 74 69 62 69 6c 69 |ment.Com|patibili|
|000001b0| 74 79 20 53 63 72 69 70 | 74 73 20 4f 76 65 72 76 |ty Scrip|ts Overv|
|000001c0| 69 65 77 20 20 20 20 20 | 31 39 0d 54 68 65 20 45 |iew |19.The E|
|000001d0| 6c 65 6d 65 6e 74 73 20 | 54 68 61 74 20 4d 61 6b |lements |That Mak|
|000001e0| 65 20 55 70 20 41 20 51 | 75 69 63 6b 6c 6f 6f 6b |e Up A Q|uicklook|
|000001f0| 20 20 20 20 20 31 39 0d | 44 65 73 63 72 69 70 74 | 19.|Descript|
|00000200| 69 76 65 20 48 65 61 64 | 65 72 20 20 20 20 20 32 |ive Head|er 2|
|00000210| 30 0d 4c 69 62 72 61 72 | 79 20 44 65 63 6c 61 72 |0.Librar|y Declar|
|00000220| 61 74 69 6f 6e 73 20 20 | 20 20 20 32 31 0d 41 70 |ations | 21.Ap|
|00000230| 70 6c 69 63 61 74 69 6f | 6e 20 53 70 65 63 69 66 |plicatio|n Specif|
|00000240| 69 63 20 54 61 73 6b 73 | 20 20 20 20 20 32 31 0d |ic Tasks| 21.|
|00000250| 53 63 72 69 70 74 20 44 | 65 63 6c 61 72 61 74 69 |Script D|eclarati|
|00000260| 6f 6e 20 20 20 20 20 32 | 31 0d 42 6f 64 79 20 4f |on 2|1.Body O|
|00000270| 66 20 41 20 53 63 72 69 | 70 74 20 20 20 20 20 32 |f A Scri|pt 2|
|00000280| 31 0d 53 63 72 69 70 74 | 73 20 49 6e 63 6c 75 64 |1.Script|s Includ|
|00000290| 65 64 20 57 69 74 68 20 | 54 68 69 73 20 50 61 63 |ed With |This Pac|
|000002a0| 6b 61 67 65 20 20 20 20 | 20 32 36 0d 4c 69 62 72 |kage | 26.Libr|
|000002b0| 61 72 69 65 73 20 4f 76 | 65 72 76 69 65 77 20 20 |aries Ov|erview |
|000002c0| 20 20 20 32 37 0d 48 6f | 77 20 54 6f 20 55 73 65 | 27.Ho|w To Use|
|000002d0| 20 54 68 65 20 4c 69 62 | 72 61 72 69 65 73 20 20 | The Lib|raries |
|000002e0| 20 20 20 32 37 0d 4c 69 | 62 72 61 72 79 20 54 61 | 27.Li|brary Ta|
|000002f0| 73 6b 20 42 65 6e 65 66 | 69 74 73 20 20 20 20 20 |sk Benef|its |
|00000300| 32 37 0d 41 64 64 69 6e | 67 20 54 6f 20 2f 20 4d |27.Addin|g To / M|
|00000310| 6f 64 69 66 79 69 6e 67 | 20 54 68 65 20 4c 69 62 |odifying| The Lib|
|00000320| 72 61 72 69 65 73 20 20 | 20 20 20 32 38 0d 42 75 |raries | 28.Bu|
|00000330| 67 73 20 61 6e 64 20 45 | 6e 68 61 6e 63 65 6d 65 |gs and E|nhanceme|
|00000340| 6e 74 20 52 65 71 75 65 | 73 74 73 20 20 20 20 20 |nt Reque|sts |
|00000350| 32 38 0d 43 6f 6e 76 65 | 6e 74 69 6f 6e 73 20 55 |28.Conve|ntions U|
|00000360| 73 65 64 20 46 6f 72 20 | 54 61 73 6b 20 44 65 66 |sed For |Task Def|
|00000370| 69 6e 69 74 69 6f 6e 73 | 20 20 20 20 20 32 38 0d |initions| 28.|
|00000380| 53 50 45 43 20 53 26 4c | 20 4c 61 79 65 72 20 4d |SPEC S&L| Layer M|
|00000390| 6f 64 65 6c 20 20 20 20 | 20 32 39 0d 45 78 65 72 |odel | 29.Exer|
|000003a0| 63 69 73 69 6e 67 20 57 | 69 6e 64 6f 77 20 46 65 |cising W|indow Fe|
|000003b0| 61 74 75 72 65 73 20 20 | 20 20 20 33 31 0d 4f 76 |atures | 31.Ov|
|000003c0| 65 72 76 69 65 77 20 20 | 20 20 20 33 31 0d 43 61 |erview | 31.Ca|
|000003d0| 6c 6c 69 6e 67 20 54 68 | 65 20 57 69 6e 64 6f 77 |lling Th|e Window|
|000003e0| 20 54 61 73 6b 73 20 20 | 20 20 20 33 31 0d 50 65 | Tasks | 31.Pe|
|000003f0| 72 66 6f 72 6d 69 6e 67 | 20 53 74 61 6e 64 61 72 |rforming| Standar|
|00000400| 64 20 46 69 6c 65 20 4f | 70 65 72 61 74 69 6f 6e |d File O|peration|
|00000410| 73 20 20 20 20 20 34 31 | 0d 4f 76 65 72 76 69 65 |s 41|.Overvie|
|00000420| 77 20 20 20 20 20 34 31 | 0d 43 61 6c 6c 69 6e 67 |w 41|.Calling|
|00000430| 20 54 68 65 20 53 74 61 | 6e 64 61 72 64 20 46 69 | The Sta|ndard Fi|
|00000440| 6c 65 20 4c 69 62 72 61 | 72 79 20 20 20 20 20 34 |le Libra|ry 4|
|00000450| 31 0d 45 78 65 72 63 69 | 73 69 6e 67 20 46 6f 6e |1.Exerci|sing Fon|
|00000460| 74 73 20 20 20 20 20 34 | 39 0d 46 6f 6e 74 20 52 |ts 4|9.Font R|
|00000470| 65 6c 61 74 65 64 20 47 | 6c 6f 62 61 6c 20 56 61 |elated G|lobal Va|
|00000480| 72 69 61 62 6c 65 73 20 | 20 20 20 20 34 39 0d 54 |riables | 49.T|
|00000490| 65 73 74 20 4d 65 74 68 | 6f 64 73 20 20 20 20 20 |est Meth|ods |
|000004a0| 35 30 0d 50 65 72 66 6f | 72 6d 69 6e 67 20 44 72 |50.Perfo|rming Dr|
|000004b0| 61 77 20 4f 70 65 72 61 | 74 69 6f 6e 73 20 20 20 |aw Opera|tions |
|000004c0| 20 20 35 31 0d 55 73 69 | 6e 67 20 50 61 6c 65 74 | 51.Usi|ng Palet|
|000004d0| 74 65 73 20 20 20 20 20 | 35 31 0d 55 73 69 6e 67 |tes |51.Using|
|000004e0| 20 54 6f 6f 6c 73 20 20 | 20 20 20 35 39 0d 55 73 | Tools | 59.Us|
|000004f0| 69 6e 67 20 4f 62 6a 65 | 63 74 73 20 20 20 20 20 |ing Obje|cts |
|00000500| 36 33 0d 55 73 69 6e 67 | 20 54 68 65 20 44 72 61 |63.Using| The Dra|
|00000510| 77 20 4c 69 62 72 61 72 | 69 65 73 20 20 20 20 20 |w Librar|ies |
|00000520| 36 36 0d 54 65 73 74 20 | 43 61 73 65 20 54 72 61 |66.Test |Case Tra|
|00000530| 63 6b 69 6e 67 20 20 20 | 20 20 37 35 0d 4f 76 65 |cking | 75.Ove|
|00000540| 72 76 69 65 77 20 20 20 | 20 20 37 35 0d 48 6f 77 |rview | 75.How|
|00000550| 20 54 65 73 74 20 43 61 | 73 65 20 54 72 61 63 6b | Test Ca|se Track|
|00000560| 69 6e 67 20 57 6f 72 6b | 73 20 20 20 20 20 37 35 |ing Work|s 75|
|00000570| 0d 43 61 6c 6c 69 6e 67 | 20 54 68 65 20 54 65 73 |.Calling| The Tes|
|00000580| 74 20 43 61 73 65 20 54 | 72 61 63 6b 69 6e 67 20 |t Case T|racking |
|00000590| 54 61 73 6b 73 20 20 20 | 20 20 37 37 0d 54 69 6d |Tasks | 77.Tim|
|000005a0| 69 6e 67 20 55 73 65 72 | 2d 50 65 72 63 65 69 76 |ing User|-Perceiv|
|000005b0| 65 64 20 50 65 72 66 6f | 72 6d 61 6e 63 65 20 20 |ed Perfo|rmance |
|000005c0| 20 20 20 38 31 0d 52 65 | 71 75 69 72 65 6d 65 6e | 81.Re|quiremen|
|000005d0| 74 73 20 20 20 20 20 38 | 31 0d 45 78 70 65 63 74 |ts 8|1.Expect|
|000005e0| 65 64 20 4c 69 6d 69 74 | 61 74 69 6f 6e 73 20 61 |ed Limit|ations a|
|000005f0| 6e 64 20 43 6f 6e 73 74 | 72 61 69 6e 74 73 20 20 |nd Const|raints |
|00000600| 20 20 20 38 31 0d 44 65 | 73 69 67 6e 20 4f 76 65 | 81.De|sign Ove|
|00000610| 72 76 69 65 77 20 20 20 | 20 20 38 31 0d 54 69 6d |rview | 81.Tim|
|00000620| 69 6e 67 20 4f 70 65 72 | 61 74 69 6f 6e 73 20 20 |ing Oper|ations |
|00000630| 20 20 20 38 34 0d 43 61 | 6c 6c 69 6e 67 20 74 68 | 84.Ca|lling th|
|00000640| 65 20 54 69 6d 69 6e 67 | 4f 70 65 72 61 74 69 6f |e Timing|Operatio|
|00000650| 6e 73 2e 4c 69 62 20 20 | 20 20 20 38 35 0d 43 61 |ns.Lib | 85.Ca|
|00000660| 6c 6c 69 6e 67 20 74 68 | 65 20 54 69 6d 69 6e 67 |lling th|e Timing|
|00000670| 42 61 73 69 63 73 2e 4c | 69 62 20 20 20 20 20 38 |Basics.L|ib 8|
|00000680| 38 0d 45 72 72 6f 72 20 | 46 61 63 74 6f 72 20 20 |8.Error |Factor |
|00000690| 20 20 20 39 35 0d 41 70 | 70 65 6e 64 69 78 20 41 | 95.Ap|pendix A|
|000006a0| 20 2d 20 51 75 69 63 6b | 6c 6f 6f 6b 20 44 65 66 | - Quick|look Def|
|000006b0| 69 6e 69 74 69 6f 6e 20 | 20 20 20 20 39 37 0d 41 |inition | 97.A|
|000006c0| 70 70 65 6e 64 69 78 20 | 42 20 2d 20 53 61 6d 70 |ppendix |B - Samp|
|000006d0| 6c 65 20 55 2e 53 2e 2d | 6f 6e 6c 79 20 51 75 69 |le U.S.-|only Qui|
|000006e0| 63 6b 6c 6f 6f 6b 20 20 | 20 20 20 39 39 0d 41 70 |cklook | 99.Ap|
|000006f0| 70 65 6e 64 69 78 20 43 | 20 2d 20 53 61 6d 70 6c |pendix C| - Sampl|
|00000700| 65 20 55 2e 53 2e 2d 6f | 6e 6c 79 20 51 75 69 63 |e U.S.-o|nly Quic|
|00000710| 6b 6c 6f 6f 6b 73 20 20 | 20 20 20 31 30 35 0d 41 |klooks | 105.A|
|00000720| 70 70 65 6e 64 69 78 20 | 44 20 2d 20 4c 69 62 72 |ppendix |D - Libr|
|00000730| 61 72 79 20 44 65 70 65 | 6e 64 65 6e 63 69 65 73 |ary Depe|ndencies|
|00000740| 20 20 20 20 20 31 30 37 | 0d 41 70 70 65 6e 64 69 | 107|.Appendi|
|00000750| 78 20 45 20 2d 20 54 61 | 73 6b 73 20 77 69 74 68 |x E - Ta|sks with|
|00000760| 69 6e 20 4c 69 62 72 61 | 72 69 65 73 20 20 20 20 |in Libra|ries |
|00000770| 20 31 30 39 0d 43 75 73 | 74 6f 6d 2e 4c 69 62 20 | 109.Cus|tom.Lib |
|00000780| 20 20 20 20 31 30 39 0d | 44 41 2e 4c 69 62 20 20 | 109.|DA.Lib |
|00000790| 20 20 20 31 30 39 0d 44 | 6f 54 61 73 6b 73 2e 4c | 109.D|oTasks.L|
|000007a0| 69 62 20 20 20 20 20 31 | 30 39 0d 44 72 61 77 2e |ib 1|09.Draw.|
|000007b0| 4c 69 62 20 20 20 20 20 | 31 30 39 0d 46 69 6c 65 |Lib |109.File|
|000007c0| 54 6f 6f 6c 4f 70 65 72 | 61 74 69 6f 6e 73 2e 4c |ToolOper|ations.L|
|000007d0| 69 62 20 20 20 20 20 31 | 30 39 0d 46 69 6e 64 65 |ib 1|09.Finde|
|000007e0| 72 2e 4c 69 62 20 20 20 | 20 20 31 30 39 0d 46 6f |r.Lib | 109.Fo|
|000007f0| 6e 74 2e 4c 69 62 20 20 | 20 20 20 31 31 30 0d 47 |nt.Lib | 110.G|
|00000800| 65 6f 6d 65 74 72 79 2e | 6c 69 62 20 20 20 20 20 |eometry.|lib |
|00000810| 31 31 30 0d 47 65 73 74 | 61 6c 74 2e 4c 69 62 20 |110.Gest|alt.Lib |
|00000820| 20 20 20 20 31 31 30 0d | 47 6c 6f 62 61 6c 73 2e | 110.|Globals.|
|00000830| 4c 69 62 20 20 20 20 20 | 31 31 30 0d 4c 61 75 6e |Lib |110.Laun|
|00000840| 63 68 51 75 69 74 2e 4c | 69 62 20 20 20 20 20 31 |chQuit.L|ib 1|
|00000850| 31 30 0d 4d 61 63 73 54 | 69 6d 65 4f 70 65 72 61 |10.MacsT|imeOpera|
|00000860| 74 69 6f 6e 73 2e 4c 69 | 62 20 20 20 20 20 31 31 |tions.Li|b 11|
|00000870| 31 0d 4d 65 6d 6f 72 79 | 4d 6f 6e 69 74 6f 72 4f |1.Memory|MonitorO|
|00000880| 70 65 72 61 74 69 6f 6e | 73 2e 4c 69 62 20 20 20 |peration|s.Lib |
|00000890| 20 20 31 31 31 0d 4d 69 | 73 63 2e 4c 69 62 20 20 | 111.Mi|sc.Lib |
|000008a0| 20 20 20 31 31 31 0d 4f | 6e 54 61 72 67 65 74 4f | 111.O|nTargetO|
|000008b0| 70 65 72 61 74 69 6f 6e | 73 2e 4c 69 62 20 20 20 |peration|s.Lib |
|000008c0| 20 20 31 31 31 0d 4f 75 | 74 50 75 74 2e 4c 69 62 | 111.Ou|tPut.Lib|
|000008d0| 20 20 20 20 20 31 31 31 | 0d 50 61 6c 65 74 74 65 | 111|.Palette|
|000008e0| 2e 4c 69 62 20 20 20 20 | 20 31 31 31 0d 50 72 69 |.Lib | 111.Pri|
|000008f0| 6e 74 2e 4c 69 62 20 20 | 20 20 20 31 31 31 0d 53 |nt.Lib | 111.S|
|00000900| 65 6c 65 63 74 2e 4c 69 | 62 20 20 20 20 20 31 31 |elect.Li|b 11|
|00000910| 31 0d 53 74 61 6e 64 61 | 72 64 46 69 6c 65 2e 4c |1.Standa|rdFile.L|
|00000920| 69 62 20 20 20 20 20 31 | 31 32 0d 53 74 72 69 6e |ib 1|12.Strin|
|00000930| 67 2e 4c 69 62 20 20 20 | 20 20 31 31 32 0d 54 61 |g.Lib | 112.Ta|
|00000940| 72 67 65 74 43 68 65 63 | 6b 2e 4c 69 62 20 20 20 |rgetChec|k.Lib |
|00000950| 20 20 31 31 32 0d 54 43 | 53 2e 4c 69 62 20 20 20 | 112.TC|S.Lib |
|00000960| 20 20 31 31 32 0d 54 65 | 78 74 2e 4c 69 62 20 20 | 112.Te|xt.Lib |
|00000970| 20 20 20 31 31 33 0d 54 | 69 6d 69 6e 67 42 61 73 | 113.T|imingBas|
|00000980| 69 63 73 2e 4c 69 62 20 | 20 20 20 20 31 31 33 0d |ics.Lib | 113.|
|00000990| 54 69 6d 69 6e 67 4f 70 | 65 72 61 74 69 6f 6e 73 |TimingOp|erations|
|000009a0| 2e 6c 69 62 20 20 20 20 | 20 31 31 33 0d 55 73 65 |.lib | 113.Use|
|000009b0| 72 49 6e 74 65 72 66 61 | 63 65 2e 4c 69 62 20 20 |rInterfa|ce.Lib |
|000009c0| 20 20 20 31 31 33 0d 55 | 74 69 6c 69 74 79 2e 4c | 113.U|tility.L|
|000009d0| 69 62 20 20 20 20 20 31 | 31 34 0d 57 6f 72 64 50 |ib 1|14.WordP|
|000009e0| 72 6f 63 65 73 73 6f 72 | 2e 4c 69 62 20 20 20 20 |rocessor|.Lib |
|000009f0| 20 31 31 34 0d 57 6f 72 | 6c 64 52 65 61 64 79 2e | 114.Wor|ldReady.|
|00000a00| 4c 69 62 20 20 20 20 20 | 31 31 34 0d 41 70 70 65 |Lib |114.Appe|
|00000a10| 6e 64 69 78 20 46 20 2d | 20 54 61 73 6b 20 4c 69 |ndix F -| Task Li|
|00000a20| 73 74 69 6e 67 20 53 6f | 72 74 65 64 20 41 6c 70 |sting So|rted Alp|
|00000a30| 68 61 62 65 74 69 63 61 | 6c 6c 79 20 20 20 20 20 |habetica|lly |
|00000a40| 31 31 35 0d 41 70 70 65 | 6e 64 69 78 20 47 20 2d |115.Appe|ndix G -|
|00000a50| 20 47 6c 6f 62 61 6c 20 | 56 61 72 69 61 62 6c 65 | Global |Variable|
|00000a60| 73 20 26 20 43 6f 6e 73 | 74 61 6e 74 73 20 20 20 |s & Cons|tants |
|00000a70| 20 20 31 32 35 0d 49 6e | 69 74 69 61 6c 69 7a 65 | 125.In|itialize|
|00000a80| 64 20 49 6e 20 54 68 65 | 20 49 6e 69 74 47 6c 6f |d In The| InitGlo|
|00000a90| 62 61 6c 73 20 54 61 73 | 6b 20 20 20 20 20 31 32 |bals Tas|k 12|
|00000aa0| 35 0d 43 6f 6e 74 72 6f | 6c 6c 69 6e 67 20 54 68 |5.Contro|lling Th|
|00000ab0| 65 20 54 65 73 74 20 4c | 65 76 65 6c 20 20 20 20 |e Test L|evel |
|00000ac0| 20 31 33 33 0d 49 6e 69 | 74 69 61 6c 69 7a 65 64 | 133.Ini|tialized|
|00000ad0| 20 49 6e 20 54 68 65 20 | 49 6e 69 74 44 72 61 77 | In The |InitDraw|
|00000ae0| 20 54 61 73 6b 20 20 20 | 20 20 31 33 34 0d 49 6e | Task | 134.In|
|00000af0| 69 74 69 61 6c 69 7a 65 | 64 20 49 6e 20 54 68 65 |itialize|d In The|
|00000b00| 20 49 6e 69 74 46 6f 6e | 74 73 20 54 61 73 6b 20 | InitFon|ts Task |
|00000b10| 20 20 20 20 31 33 37 0d | 49 6e 69 74 69 61 6c 69 | 137.|Initiali|
|00000b20| 7a 65 64 20 49 6e 20 54 | 68 65 20 49 6e 69 74 52 |zed In T|he InitR|
|00000b30| 61 6e 64 6f 6d 53 65 65 | 64 20 54 61 73 6b 20 20 |andomSee|d Task |
|00000b40| 20 20 20 31 34 30 0d 55 | 6e 64 65 66 69 6e 65 64 | 140.U|ndefined|
|00000b50| 20 54 61 73 6b 20 52 65 | 66 65 72 65 6e 63 65 73 | Task Re|ferences|
|00000b60| 20 2d 20 48 6f 6f 6b 73 | 20 20 20 20 20 31 34 31 | - Hooks| 141|
|00000b70| 0d 49 6e 64 65 78 20 6f | 66 20 47 6c 6f 62 61 6c |.Index o|f Global|
|00000b80| 20 56 61 72 69 61 62 6c | 65 73 20 20 20 20 20 31 | Variabl|es 1|
|00000b90| 34 36 0d 41 70 70 65 6e | 64 69 78 20 48 20 2d 20 |46.Appen|dix H - |
|00000ba0| 54 65 73 74 20 43 61 73 | 65 73 20 69 6e 20 53 50 |Test Cas|es in SP|
|00000bb0| 45 43 20 53 26 4c 20 20 | 20 20 20 31 34 39 0d 41 |EC S&L | 149.A|
|00000bc0| 70 70 65 6e 64 69 78 20 | 49 20 2d 20 55 74 69 6c |ppendix |I - Util|
|00000bd0| 69 74 79 20 54 6f 6f 6c | 73 20 20 20 20 20 31 35 |ity Tool|s 15|
|00000be0| 33 0d 41 63 6b 6e 6f 77 | 6c 65 64 67 6d 65 6e 74 |3.Acknow|ledgment|
|00000bf0| 73 0d 54 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |s.This d|ocument |
|00000c00| 69 73 20 74 68 65 20 72 | 65 73 75 6c 74 20 6f 66 |is the r|esult of|
|00000c10| 20 66 72 75 69 74 66 75 | 6c 20 77 6f 72 6b 20 66 | fruitfu|l work f|
|00000c20| 72 6f 6d 20 73 65 76 65 | 72 61 6c 20 69 6e 64 69 |rom seve|ral indi|
|00000c30| 76 69 64 75 61 6c 73 20 | 74 68 61 74 20 64 65 73 |viduals |that des|
|00000c40| 65 72 76 65 20 74 6f 20 | 62 65 20 6d 65 6e 74 69 |erve to |be menti|
|00000c50| 6f 6e 65 64 2c 20 65 76 | 65 6e 20 74 68 6f 75 67 |oned, ev|en thoug|
|00000c60| 68 20 73 6f 6d 65 20 6f | 66 20 74 68 65 6d 20 68 |h some o|f them h|
|00000c70| 61 76 65 20 6d 6f 76 65 | 64 20 6f 6e 20 74 6f 20 |ave move|d on to |
|00000c80| 6f 74 68 65 72 20 63 68 | 61 6c 6c 65 6e 67 65 73 |other ch|allenges|
|00000c90| 20 61 74 20 41 70 70 6c | 65 20 61 6e 64 20 61 72 | at Appl|e and ar|
|00000ca0| 65 20 6e 6f 20 6c 6f 6e | 67 65 72 20 77 6f 72 6b |e no lon|ger work|
|00000cb0| 69 6e 67 20 63 6c 6f 73 | 65 6c 79 20 77 69 74 68 |ing clos|ely with|
|00000cc0| 20 75 73 2e 20 57 65 20 | 77 61 6e 74 20 74 6f 20 | us. We |want to |
|00000cd0| 74 68 61 6e 6b 20 74 68 | 65 6d 20 66 6f 72 20 74 |thank th|em for t|
|00000ce0| 68 65 20 65 78 63 65 6c | 6c 65 6e 74 20 65 66 66 |he excel|lent eff|
|00000cf0| 6f 72 74 2c 20 73 75 70 | 70 6f 72 74 20 61 6e 64 |ort, sup|port and|
|00000d00| 20 63 6f 6f 70 65 72 61 | 74 69 6f 6e 3a 0d 4b 65 | coopera|tion:.Ke|
|00000d10| 79 20 43 6f 6e 74 72 69 | 62 75 74 6f 72 73 3a 0d |y Contri|butors:.|
|00000d20| 4b 65 76 69 6e 20 41 76 | 6f 79 2c 20 44 61 76 65 |Kevin Av|oy, Dave|
|00000d30| 20 4d 61 74 7a 6e 65 72 | 2c 20 4d 69 63 68 61 65 | Matzner|, Michae|
|00000d40| 6c 20 4c 65 6f 6e 67 2c | 20 47 69 6c 20 53 70 65 |l Leong,| Gil Spe|
|00000d50| 6e 63 65 72 2c 20 4b 65 | 6e 20 4c 61 6e 64 72 65 |ncer, Ke|n Landre|
|00000d60| 74 68 2c 20 4a 65 66 66 | 20 4d 69 74 63 68 65 6c |th, Jeff| Mitchel|
|00000d70| 6c 2c 20 4e 69 63 6b 20 | 56 61 63 63 61 72 6f 2c |l, Nick |Vaccaro,|
|00000d80| 20 45 72 69 63 20 48 65 | 77 69 74 74 2e 0d 4f 74 | Eric He|witt..Ot|
|00000d90| 68 65 72 20 43 6f 6e 74 | 72 69 62 75 74 6f 72 73 |her Cont|ributors|
|00000da0| 3a 0d 4a 6f 68 6e 20 43 | 6f 65 6c 68 6f 2c 20 4d |:.John C|oelho, M|
|00000db0| 69 6b 65 6c 20 44 65 20 | 53 61 6e 63 74 69 73 2c |ikel De |Sanctis,|
|00000dc0| 20 4a 61 79 20 4a 65 73 | 73 65 6e 2c 20 4a 6f 68 | Jay Jes|sen, Joh|
|00000dd0| 6e 20 48 61 72 72 69 73 | 6f 6e 2c 20 4b 72 69 73 |n Harris|on, Kris|
|00000de0| 74 69 20 4b 6f 6b 61 6c | 69 73 2c 20 4e 61 67 61 |ti Kokal|is, Naga|
|00000df0| 2c 20 53 74 75 61 72 74 | 20 52 75 73 73 65 6c 6c |, Stuart| Russell|
|00000e00| 2c 20 4e 61 6e 63 79 20 | 53 63 68 6f 72 72 2c 20 |, Nancy |Schorr, |
|00000e10| 43 61 72 6f 6c 20 57 69 | 6c 73 65 72 20 61 6e 64 |Carol Wi|lser and|
|00000e20| 20 74 68 65 20 65 6e 74 | 69 72 65 20 56 69 72 74 | the ent|ire Virt|
|00000e30| 75 61 6c 20 55 73 65 72 | 20 74 65 61 6d 2e 20 0d |ual User| team. .|
|00000e40| 20 0d 0d 41 62 6f 75 74 | 20 54 68 69 73 20 44 6f | ..About| This Do|
|00000e50| 63 75 6d 65 6e 74 0d 53 | 50 45 43 20 53 26 4c 20 |cument.S|PEC S&L |
|00000e60| 69 73 20 61 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |is a col|lection |
|00000e70| 6f 66 20 56 69 72 74 75 | 61 6c 20 55 73 65 72 20 |of Virtu|al User |
|00000e80| 73 63 72 69 70 74 73 20 | 61 6e 64 20 6c 69 62 72 |scripts |and libr|
|00000e90| 61 72 69 65 73 20 64 65 | 76 65 6c 6f 70 65 64 20 |aries de|veloped |
|00000ea0| 74 6f 20 65 78 70 65 64 | 69 74 65 20 74 68 65 20 |to exped|ite the |
|00000eb0| 4d 61 63 69 6e 74 6f 73 | 68 20 61 70 70 6c 69 63 |Macintos|h applic|
|00000ec0| 61 74 69 6f 6e 20 61 6e | 64 20 73 79 73 74 65 6d |ation an|d system|
|00000ed0| 20 73 6f 66 74 77 61 72 | 65 20 63 6f 6d 70 61 74 | softwar|e compat|
|00000ee0| 69 62 69 6c 69 74 79 20 | 61 6e 64 20 70 65 72 66 |ibility |and perf|
|00000ef0| 6f 72 6d 61 6e 63 65 20 | 74 65 73 74 20 70 72 6f |ormance |test pro|
|00000f00| 63 65 73 73 2e 20 54 68 | 69 73 20 64 6f 63 75 6d |cess. Th|is docum|
|00000f10| 65 6e 74 20 69 73 20 61 | 20 75 73 65 72 27 73 20 |ent is a| user's |
|00000f20| 67 75 69 64 65 20 66 6f | 72 20 70 65 6f 70 6c 65 |guide fo|r people|
|00000f30| 20 77 68 6f 20 69 6e 74 | 65 6e 64 20 74 6f 20 75 | who int|end to u|
|00000f40| 74 69 6c 69 7a 65 20 53 | 50 45 43 20 53 26 4c 2e |tilize S|PEC S&L.|
|00000f50| 20 54 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 69 73 | The doc|ument is|
|00000f60| 20 64 69 76 69 64 65 64 | 20 69 6e 74 6f 20 74 77 | divided| into tw|
|00000f70| 6f 20 70 61 72 74 73 2e | 20 50 61 72 74 20 49 20 |o parts.| Part I |
|00000f80| 61 64 64 72 65 73 73 65 | 73 20 74 68 65 20 65 78 |addresse|s the ex|
|00000f90| 65 63 75 74 69 6f 6e 20 | 6f 66 20 73 63 72 69 70 |ecution |of scrip|
|00000fa0| 74 73 2c 20 69 6e 74 65 | 6e 64 65 64 20 66 6f 72 |ts, inte|nded for|
|00000fb0| 20 69 6e 64 69 76 69 64 | 75 61 6c 73 20 72 75 6e | individ|uals run|
|00000fc0| 6e 69 6e 67 20 73 63 72 | 69 70 74 73 20 77 69 74 |ning scr|ipts wit|
|00000fd0| 68 69 6e 20 74 68 65 20 | 53 50 45 43 20 53 26 4c |hin the |SPEC S&L|
|00000fe0| 20 66 72 61 6d 65 77 6f | 72 6b 2e 20 57 65 20 68 | framewo|rk. We h|
|00000ff0| 61 76 65 20 61 74 74 65 | 6d 70 74 65 64 20 74 6f |ave atte|mpted to|
|00001000| 20 69 6e 63 6c 75 64 65 | 20 6d 61 6e 79 20 6f 66 | include| many of|
|00001010| 20 74 68 65 20 69 73 73 | 75 65 73 20 74 68 61 74 | the iss|ues that|
|00001020| 20 63 61 6e 20 61 72 69 | 73 65 20 77 68 65 6e 20 | can ari|se when |
|00001030| 73 65 74 74 69 6e 67 20 | 75 70 20 61 6e 64 20 72 |setting |up and r|
|00001040| 75 6e 6e 69 6e 67 20 61 | 6e 20 61 75 74 6f 6d 61 |unning a|n automa|
|00001050| 74 65 64 20 74 65 73 74 | 20 6c 61 62 2e 20 50 61 |ted test| lab. Pa|
|00001060| 72 74 20 49 49 20 64 65 | 73 63 72 69 62 65 73 20 |rt II de|scribes |
|00001070| 74 68 65 20 53 50 45 43 | 20 53 26 4c 20 6c 69 62 |the SPEC| S&L lib|
|00001080| 72 61 72 69 65 73 20 69 | 6e 20 73 70 65 63 69 66 |raries i|n specif|
|00001090| 69 63 20 64 65 74 61 69 | 6c 2c 20 20 69 6e 74 65 |ic detai|l, inte|
|000010a0| 6e 64 65 64 20 70 72 69 | 6d 61 72 69 6c 79 20 66 |nded pri|marily f|
|000010b0| 6f 72 20 69 6e 64 69 76 | 69 64 75 61 6c 73 20 64 |or indiv|iduals d|
|000010c0| 65 76 65 6c 6f 70 69 6e | 67 20 6e 65 77 20 73 63 |evelopin|g new sc|
|000010d0| 72 69 70 74 73 20 61 6e | 64 20 6c 69 62 72 61 72 |ripts an|d librar|
|000010e0| 69 65 73 20 77 69 74 68 | 69 6e 20 74 68 65 20 53 |ies with|in the S|
|000010f0| 50 45 43 20 53 26 4c 20 | 66 72 61 6d 65 77 6f 72 |PEC S&L |framewor|
|00001100| 6b 2e 20 54 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |k. This |document|
|00001110| 20 77 69 6c 6c 20 65 76 | 6f 6c 76 65 20 6f 76 65 | will ev|olve ove|
|00001120| 72 20 74 69 6d 65 2c 20 | 74 6f 20 61 64 64 72 65 |r time, |to addre|
|00001130| 73 73 20 6d 6f 73 74 20 | 6f 66 20 74 68 65 20 69 |ss most |of the i|
|00001140| 73 73 75 65 73 20 74 68 | 61 74 20 61 72 69 73 65 |ssues th|at arise|
|00001150| 20 61 73 20 70 65 6f 70 | 6c 65 20 75 73 65 20 53 | as peop|le use S|
|00001160| 50 45 43 20 53 26 4c 2e | 0d 0d 49 6e 74 72 6f 64 |PEC S&L.|..Introd|
|00001170| 75 63 74 69 6f 6e 0d 41 | 75 74 6f 6d 61 74 69 6f |uction.A|utomatio|
|00001180| 6e 20 4f 76 65 72 76 69 | 65 77 0d 56 69 72 74 75 |n Overvi|ew.Virtu|
|00001190| 61 6c 20 55 73 65 72 20 | 69 73 20 61 20 75 73 65 |al User |is a use|
|000011a0| 72 2d 6c 65 76 65 6c 20 | 61 75 74 6f 6d 61 74 69 |r-level |automati|
|000011b0| 6f 6e 20 73 79 73 74 65 | 6d 20 64 65 73 69 67 6e |on syste|m design|
|000011c0| 65 64 20 66 6f 72 20 74 | 68 65 20 70 75 72 70 6f |ed for t|he purpo|
|000011d0| 73 65 20 6f 66 20 74 65 | 73 74 69 6e 67 20 74 68 |se of te|sting th|
|000011e0| 65 20 65 6c 65 6d 65 6e | 74 73 20 6f 66 20 74 68 |e elemen|ts of th|
|000011f0| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 68 75 6d 61 |e Macint|osh huma|
|00001200| 6e 20 69 6e 74 65 72 66 | 61 63 65 2e 20 49 66 20 |n interf|ace. If |
|00001210| 79 6f 75 20 61 72 65 20 | 6e 6f 74 20 66 61 6d 69 |you are |not fami|
|00001220| 6c 69 61 72 20 77 69 74 | 68 20 56 69 72 74 75 61 |liar wit|h Virtua|
|00001230| 6c 20 55 73 65 72 20 79 | 6f 75 20 6d 61 79 20 77 |l User y|ou may w|
|00001240| 61 6e 74 20 74 6f 20 72 | 65 61 64 20 53 65 74 74 |ant to r|ead Sett|
|00001250| 69 6e 67 20 55 70 20 61 | 6e 64 20 52 75 6e 6e 69 |ing Up a|nd Runni|
|00001260| 6e 67 20 56 69 72 74 75 | 61 6c 20 55 73 65 72 20 |ng Virtu|al User |
|00001270| 20 61 6e 64 2f 6f 72 20 | 56 69 72 74 75 61 6c 20 | and/or |Virtual |
|00001280| 55 73 65 72 20 4c 61 6e | 67 75 61 67 65 20 52 65 |User Lan|guage Re|
|00001290| 66 65 72 65 6e 63 65 20 | 47 75 69 64 65 2e 20 42 |ference |Guide. B|
|000012a0| 79 20 75 74 69 6c 69 7a | 69 6e 67 20 56 69 72 74 |y utiliz|ing Virt|
|000012b0| 75 61 6c 20 55 73 65 72 | 20 74 6f 20 61 75 74 6f |ual User| to auto|
|000012c0| 6d 61 74 69 63 61 6c 6c | 79 20 65 78 65 72 63 69 |maticall|y exerci|
|000012d0| 73 65 20 66 65 61 74 75 | 72 65 73 20 6f 66 20 74 |se featu|res of t|
|000012e0| 68 65 20 68 75 6d 61 6e | 20 69 6e 74 65 72 66 61 |he human| interfa|
|000012f0| 63 65 2c 20 74 65 73 74 | 20 73 75 69 74 65 73 20 |ce, test| suites |
|00001300| 63 61 6e 20 62 65 20 64 | 65 76 65 6c 6f 70 65 64 |can be d|eveloped|
|00001310| 20 74 68 61 74 20 77 69 | 6c 6c 20 76 65 72 69 66 | that wi|ll verif|
|00001320| 79 20 76 61 72 69 6f 75 | 73 20 6c 65 76 65 6c 73 |y variou|s levels|
|00001330| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 61 6c 69 74 | of func|tionalit|
|00001340| 79 2e 20 54 65 73 74 20 | 73 75 69 74 65 73 20 6f |y. Test |suites o|
|00001350| 6e 63 65 20 64 65 76 65 | 6c 6f 70 65 64 20 77 69 |nce deve|loped wi|
|00001360| 6c 6c 20 70 72 6f 76 69 | 64 65 20 6e 75 6d 65 72 |ll provi|de numer|
|00001370| 6f 75 73 20 62 65 6e 65 | 66 69 74 73 2e 20 42 65 |ous bene|fits. Be|
|00001380| 6c 6f 77 20 69 73 20 61 | 20 6c 69 73 74 20 6f 66 |low is a| list of|
|00001390| 20 73 6f 6d 65 20 6f 66 | 20 74 68 65 20 62 65 6e | some of| the ben|
|000013a0| 65 66 69 74 73 20 70 72 | 6f 76 69 64 65 64 20 62 |efits pr|ovided b|
|000013b0| 79 20 74 68 65 20 75 73 | 65 20 6f 66 20 61 75 74 |y the us|e of aut|
|000013c0| 6f 6d 61 74 69 6f 6e 2e | 0d 42 65 6e 65 66 69 74 |omation.|.Benefit|
|000013d0| 73 3a 0d 2d 20 52 65 75 | 73 61 62 6c 65 20 74 65 |s:.- Reu|sable te|
|000013e0| 73 74 20 73 75 69 74 65 | 73 0d 2d 20 52 65 70 65 |st suite|s.- Repe|
|000013f0| 61 74 61 62 6c 65 20 74 | 65 73 74 20 65 78 65 63 |atable t|est exec|
|00001400| 75 74 69 6f 6e 0d 2d 20 | 4d 75 6c 74 69 70 6c 65 |ution.- |Multiple|
|00001410| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 73 20 | configu|rations |
|00001420| 74 65 73 74 65 64 20 63 | 6f 6e 63 75 72 72 65 6e |tested c|oncurren|
|00001430| 74 6c 79 0d 2d 20 41 75 | 74 6f 6d 61 74 65 20 74 |tly.- Au|tomate t|
|00001440| 65 64 69 6f 75 73 20 74 | 61 73 6b 73 20 0d 2d 20 |edious t|asks .- |
|00001450| 42 65 6e 63 68 6d 61 72 | 6b 20 70 65 72 66 6f 72 |Benchmar|k perfor|
|00001460| 6d 61 6e 63 65 20 0d 2d | 20 49 6e 74 65 67 72 61 |mance .-| Integra|
|00001470| 74 69 6f 6e 20 77 69 74 | 68 20 65 6e 76 69 72 6f |tion wit|h enviro|
|00001480| 6e 6d 65 6e 74 61 6c 20 | 76 61 72 69 61 62 6c 65 |nmental |variable|
|00001490| 73 0d 53 50 45 43 20 53 | 26 4c 20 4f 76 65 72 76 |s.SPEC S|&L Overv|
|000014a0| 69 65 77 0d 53 50 45 43 | 20 53 26 4c 20 69 73 20 |iew.SPEC| S&L is |
|000014b0| 61 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 6f 66 20 |a collec|tion of |
|000014c0| 56 69 72 74 75 61 6c 20 | 55 73 65 72 20 28 56 2e |Virtual |User (V.|
|000014d0| 55 2e 29 20 6c 69 62 72 | 61 72 69 65 73 20 61 6e |U.) libr|aries an|
|000014e0| 64 20 73 63 72 69 70 74 | 73 20 74 68 61 74 20 77 |d script|s that w|
|000014f0| 69 6c 6c 20 68 65 6c 70 | 20 71 75 61 6c 69 74 79 |ill help| quality|
|00001500| 20 65 6e 67 69 6e 65 65 | 72 73 20 76 65 72 69 66 | enginee|rs verif|
|00001510| 79 20 63 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 20 |y compat|ibility |
|00001520| 61 6e 64 20 70 65 72 66 | 6f 72 6d 61 6e 63 65 20 |and perf|ormance |
|00001530| 77 69 74 68 20 74 68 69 | 72 64 20 70 61 72 74 79 |with thi|rd party|
|00001540| 20 70 72 6f 64 75 63 74 | 73 2e 20 41 75 74 6f 6d | product|s. Autom|
|00001550| 61 74 65 64 20 74 65 73 | 74 69 6e 67 20 75 74 69 |ated tes|ting uti|
|00001560| 6c 69 7a 69 6e 67 20 56 | 69 72 74 75 61 6c 20 55 |lizing V|irtual U|
|00001570| 73 65 72 20 68 61 73 20 | 70 72 6f 76 69 64 65 64 |ser has |provided|
|00001580| 20 61 20 6d 65 61 6e 73 | 20 66 6f 72 20 6c 69 6d | a means| for lim|
|00001590| 69 74 69 6e 67 20 74 68 | 65 20 61 6d 6f 75 6e 74 |iting th|e amount|
|000015a0| 20 6f 66 20 72 65 73 6f | 75 72 63 65 73 20 72 65 | of reso|urces re|
|000015b0| 71 75 69 72 65 64 20 74 | 6f 20 76 65 72 69 66 79 |quired t|o verify|
|000015c0| 20 73 6f 66 74 77 61 72 | 65 20 63 6f 6d 70 61 74 | softwar|e compat|
|000015d0| 69 62 69 6c 69 74 79 20 | 61 6e 64 20 70 65 72 66 |ibility |and perf|
|000015e0| 6f 72 6d 61 6e 63 65 20 | 77 69 74 68 20 74 68 69 |ormance |with thi|
|000015f0| 72 64 20 70 61 72 74 79 | 20 70 72 6f 64 75 63 74 |rd party| product|
|00001600| 73 2e 20 53 50 45 43 20 | 53 26 4c 20 61 64 64 72 |s. SPEC |S&L addr|
|00001610| 65 73 73 65 73 20 74 68 | 65 20 6e 65 65 64 20 74 |esses th|e need t|
|00001620| 6f 20 68 61 76 65 20 61 | 20 73 69 6e 67 6c 65 20 |o have a| single |
|00001630| 66 72 61 6d 65 77 6f 72 | 6b 20 66 6f 72 20 64 65 |framewor|k for de|
|00001640| 76 65 6c 6f 70 69 6e 67 | 20 56 69 72 74 75 61 6c |veloping| Virtual|
|00001650| 20 55 73 65 72 20 61 75 | 74 6f 6d 61 74 65 64 20 | User au|tomated |
|00001660| 74 65 73 74 20 73 63 72 | 69 70 74 73 2e 20 53 50 |test scr|ipts. SP|
|00001670| 45 43 20 53 26 4c 20 77 | 69 6c 6c 20 68 65 6c 70 |EC S&L w|ill help|
|00001680| 20 73 6f 66 74 77 61 72 | 65 20 65 6e 67 69 6e 65 | softwar|e engine|
|00001690| 65 72 73 20 62 79 20 70 | 65 72 66 6f 72 6d 69 6e |ers by p|erformin|
|000016a0| 67 20 74 68 65 20 72 65 | 70 65 74 69 74 69 76 65 |g the re|petitive|
|000016b0| 20 74 61 73 6b 73 20 69 | 6e 76 6f 6c 76 65 64 20 | tasks i|nvolved |
|000016c0| 69 6e 20 76 65 72 69 66 | 79 69 6e 67 20 63 6f 6d |in verif|ying com|
|000016d0| 70 61 74 69 62 69 6c 69 | 74 79 20 61 6e 64 20 70 |patibili|ty and p|
|000016e0| 65 72 66 6f 72 6d 61 6e | 63 65 20 69 6e 20 74 77 |erforman|ce in tw|
|000016f0| 6f 20 77 61 79 73 3a 20 | 0d 31 29 20 50 72 6f 76 |o ways: |.1) Prov|
|00001700| 69 64 69 6e 67 20 73 61 | 6d 70 6c 65 20 63 6f 6d |iding sa|mple com|
|00001710| 70 61 74 69 62 69 6c 69 | 74 79 20 61 6e 64 20 70 |patibili|ty and p|
|00001720| 65 72 66 6f 72 6d 61 6e | 63 65 20 73 63 72 69 70 |erforman|ce scrip|
|00001730| 74 73 20 66 6f 72 20 74 | 68 69 72 64 20 70 61 72 |ts for t|hird par|
|00001740| 74 79 20 4d 61 63 69 6e | 74 6f 73 68 20 61 70 70 |ty Macin|tosh app|
|00001750| 6c 69 63 61 74 69 6f 6e | 73 2e 0d 32 29 20 20 50 |lication|s..2) P|
|00001760| 72 6f 76 69 64 69 6e 67 | 20 61 6e 20 65 78 74 65 |roviding| an exte|
|00001770| 6e 64 69 62 6c 65 20 73 | 63 72 69 70 74 20 64 65 |ndible s|cript de|
|00001780| 76 65 6c 6f 70 6d 65 6e | 74 20 66 72 61 6d 65 77 |velopmen|t framew|
|00001790| 6f 72 6b 20 66 6f 72 20 | 61 75 74 6f 6d 61 74 69 |ork for |automati|
|000017a0| 6e 67 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 63 6f |ng addit|ional co|
|000017b0| 6d 70 61 74 69 62 69 6c | 69 74 79 20 61 6e 64 20 |mpatibil|ity and |
|000017c0| 70 65 72 66 6f 72 6d 61 | 6e 63 65 20 74 65 73 74 |performa|nce test|
|000017d0| 69 6e 67 2e 20 0d 53 50 | 45 43 20 53 26 4c 20 63 |ing. .SP|EC S&L c|
|000017e0| 6f 6e 74 61 69 6e 73 20 | 74 77 6f 20 64 69 73 74 |ontains |two dist|
|000017f0| 69 6e 63 74 20 65 6c 65 | 6d 65 6e 74 73 3a 20 53 |inct ele|ments: S|
|00001800| 63 72 69 70 74 73 20 61 | 6e 64 20 4c 69 62 72 61 |cripts a|nd Libra|
|00001810| 72 69 65 73 2e 20 4c 69 | 62 72 61 72 69 65 73 20 |ries. Li|braries |
|00001820| 61 72 65 20 61 20 63 6f | 6c 6c 65 63 74 69 6f 6e |are a co|llection|
|00001830| 20 6f 66 20 63 6f 6d 6d | 6f 6e 6c 79 20 75 73 65 | of comm|only use|
|00001840| 64 20 74 61 73 6b 73 2e | 20 54 68 65 20 61 64 76 |d tasks.| The adv|
|00001850| 61 6e 74 61 67 65 73 20 | 6f 66 20 74 68 65 73 65 |antages |of these|
|00001860| 20 6c 69 62 72 61 72 69 | 65 73 20 61 72 65 3a 0d | librari|es are:.|
|00001870| 31 29 20 52 65 75 73 61 | 62 6c 65 20 56 2e 55 2e |1) Reusa|ble V.U.|
|00001880| 20 63 6f 64 65 20 62 61 | 73 65 2e 0d 32 29 20 53 | code ba|se..2) S|
|00001890| 6d 61 6c 6c 65 72 20 6d | 6f 72 65 20 65 66 66 69 |maller m|ore effi|
|000018a0| 63 69 65 6e 74 20 73 63 | 72 69 70 74 73 2e 0d 33 |cient sc|ripts..3|
|000018b0| 29 20 43 6f 6e 73 69 73 | 74 65 6e 63 79 20 2d 20 |) Consis|tency - |
|000018c0| 54 65 73 74 69 6e 67 20 | 63 6f 6d 6d 6f 6e 20 66 |Testing |common f|
|000018d0| 65 61 74 75 72 65 73 20 | 62 65 74 77 65 65 6e 20 |eatures |between |
|000018e0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 69 6e 20 |applicat|ions in |
|000018f0| 73 69 6d 69 6c 61 72 20 | 6d 61 6e 6e 65 72 2e 0d |similar |manner..|
|00001900| 34 29 20 4d 61 69 6e 74 | 61 69 6e 61 62 69 6c 69 |4) Maint|ainabili|
|00001910| 74 79 20 2d 20 48 61 6e | 64 6c 65 20 63 68 61 6e |ty - Han|dle chan|
|00001920| 67 65 73 20 69 6e 20 63 | 65 6e 74 72 61 6c 20 6c |ges in c|entral l|
|00001930| 6f 63 61 74 69 6f 6e 20 | 69 6e 73 74 65 61 64 20 |ocation |instead |
|00001940| 6f 66 20 75 70 64 61 74 | 69 6e 67 20 6e 75 6d 65 |of updat|ing nume|
|00001950| 72 6f 75 73 20 66 69 6c | 65 73 2e 0d 35 29 20 46 |rous fil|es..5) F|
|00001960| 6c 65 78 69 62 69 6c 69 | 74 79 20 2d 20 20 41 62 |lexibili|ty - Ab|
|00001970| 69 6c 69 74 79 20 74 6f | 20 6f 76 65 72 72 69 64 |ility to| overrid|
|00001980| 65 20 64 65 66 61 75 6c | 74 20 72 6f 75 74 69 6e |e defaul|t routin|
|00001990| 65 73 2c 20 69 66 20 61 | 70 70 6c 69 63 61 74 69 |es, if a|pplicati|
|000019a0| 6f 6e 20 66 65 61 74 75 | 72 65 73 20 72 65 71 75 |on featu|res requ|
|000019b0| 69 72 65 20 69 74 2e 0d | 36 29 20 45 78 74 65 6e |ire it..|6) Exten|
|000019c0| 64 69 62 69 6c 69 74 79 | 20 2d 20 49 74 20 69 73 |dibility| - It is|
|000019d0| 20 65 61 73 79 20 74 6f | 20 65 78 74 65 6e 64 20 | easy to| extend |
|000019e0| 61 6e 79 20 6f 66 20 74 | 68 65 20 64 61 74 61 20 |any of t|he data |
|000019f0| 73 74 72 75 63 74 75 72 | 65 73 20 69 6e 20 74 68 |structur|es in th|
|00001a00| 65 20 6c 69 62 72 61 72 | 69 65 73 20 74 6f 20 68 |e librar|ies to h|
|00001a10| 61 6e 64 6c 65 20 61 64 | 64 69 74 69 6f 6e 61 6c |andle ad|ditional|
|00001a20| 20 66 65 61 74 75 72 65 | 73 2c 20 61 6e 64 20 73 | feature|s, and s|
|00001a30| 69 6e 63 65 20 65 76 65 | 72 79 74 68 69 6e 67 20 |ince eve|rything |
|00001a40| 74 68 61 74 20 69 73 20 | 73 70 65 63 69 66 69 63 |that is |specific|
|00001a50| 20 74 6f 20 61 6e 20 61 | 70 70 6c 69 63 61 74 69 | to an a|pplicati|
|00001a60| 6f 6e 20 69 73 20 63 6f | 6e 74 61 69 6e 65 64 20 |on is co|ntained |
|00001a70| 77 69 74 68 69 6e 20 6f | 6e 65 20 73 63 72 69 70 |within o|ne scrip|
|00001a80| 74 20 66 69 6c 65 20 69 | 74 20 69 73 20 65 61 73 |t file i|t is eas|
|00001a90| 79 20 74 6f 20 61 64 64 | 20 61 64 64 69 74 69 6f |y to add| additio|
|00001aa0| 6e 61 6c 20 66 65 61 74 | 75 72 65 73 20 74 6f 20 |nal feat|ures to |
|00001ab0| 74 68 65 20 74 65 73 74 | 20 73 75 69 74 65 20 77 |the test| suite w|
|00001ac0| 69 74 68 6f 75 74 20 61 | 66 66 65 63 74 69 6e 67 |ithout a|ffecting|
|00001ad0| 20 6f 74 68 65 72 20 73 | 75 69 74 65 73 2e 0d 53 | other s|uites..S|
|00001ae0| 50 45 43 20 53 26 4c 20 | 73 63 72 69 70 74 73 20 |PEC S&L |scripts |
|00001af0| 61 72 65 20 6d 61 64 65 | 20 75 70 20 6f 66 20 73 |are made| up of s|
|00001b00| 65 76 65 72 61 6c 20 65 | 6c 65 6d 65 6e 74 73 20 |everal e|lements |
|00001b10| 69 6e 63 6c 75 64 69 6e | 67 3a 20 63 61 6c 6c 73 |includin|g: calls|
|00001b20| 20 74 6f 20 6c 69 62 72 | 61 72 79 20 74 61 73 6b | to libr|ary task|
|00001b30| 73 2c 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |s, appli|cation s|
|00001b40| 70 65 63 69 66 69 63 20 | 64 61 74 61 20 73 74 72 |pecific |data str|
|00001b50| 75 63 74 75 72 65 73 2c | 20 61 70 70 6c 69 63 61 |uctures,| applica|
|00001b60| 74 69 6f 6e 20 73 70 65 | 63 69 66 69 63 20 74 61 |tion spe|cific ta|
|00001b70| 73 6b 73 2e 20 42 79 20 | 6c 69 6d 69 74 69 6e 67 |sks. By |limiting|
|00001b80| 20 77 68 61 74 20 74 68 | 65 20 73 63 72 69 70 74 | what th|e script|
|00001b90| 73 20 63 6f 6e 74 61 69 | 6e 2c 20 77 65 20 68 61 |s contai|n, we ha|
|00001ba0| 76 65 20 73 65 74 20 61 | 20 73 74 61 6e 64 61 72 |ve set a| standar|
|00001bb0| 64 20 66 6f 72 20 6c 69 | 6d 69 74 69 6e 67 20 63 |d for li|miting c|
|00001bc0| 6f 64 65 20 72 65 64 75 | 6e 64 61 6e 63 79 2e 20 |ode redu|ndancy. |
|00001bd0| 53 69 6e 63 65 20 74 68 | 65 20 6d 61 6a 6f 72 69 |Since th|e majori|
|00001be0| 74 79 20 6f 66 20 74 68 | 65 20 74 65 73 74 69 6e |ty of th|e testin|
|00001bf0| 67 20 69 73 20 63 6f 6e | 74 72 6f 6c 6c 65 64 20 |g is con|trolled |
|00001c00| 66 72 6f 6d 20 74 68 65 | 20 73 61 6d 65 20 73 65 |from the| same se|
|00001c10| 74 20 6f 66 20 6c 69 62 | 72 61 72 69 65 73 2c 20 |t of lib|raries, |
|00001c20| 74 65 73 74 69 6e 67 20 | 62 65 74 77 65 65 6e 20 |testing |between |
|00001c30| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 69 73 20 |applicat|ions is |
|00001c40| 76 65 72 79 20 63 6f 6e | 73 69 73 74 65 6e 74 2e |very con|sistent.|
|00001c50| 20 54 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | The app|lication|
|00001c60| 20 64 61 74 61 20 73 74 | 72 75 63 74 75 72 65 73 | data st|ructures|
|00001c70| 20 6d 65 6e 74 69 6f 6e | 65 64 20 61 62 6f 76 65 | mention|ed above|
|00001c80| 20 61 72 65 20 64 69 73 | 63 75 73 73 65 64 20 69 | are dis|cussed i|
|00001c90| 6e 20 50 61 72 74 20 49 | 49 20 6f 66 20 74 68 69 |n Part I|I of thi|
|00001ca0| 73 20 64 6f 63 75 6d 65 | 6e 74 2e 0d 0d 0d 50 61 |s docume|nt....Pa|
|00001cb0| 72 74 20 49 20 d0 20 45 | 78 65 63 75 74 69 6f 6e |rt I . E|xecution|
|00001cc0| 53 65 74 75 70 20 26 20 | 45 78 65 63 75 74 69 6f |Setup & |Executio|
|00001cd0| 6e 0d 54 68 65 20 69 6e | 69 74 69 61 6c 20 73 65 |n.The in|itial se|
|00001ce0| 74 75 70 20 72 65 71 75 | 69 72 65 64 20 74 6f 20 |tup requ|ired to |
|00001cf0| 72 75 6e 20 61 20 56 69 | 72 74 75 61 6c 20 55 73 |run a Vi|rtual Us|
|00001d00| 65 72 20 61 75 74 6f 6d | 61 74 69 6f 6e 20 73 75 |er autom|ation su|
|00001d10| 69 74 65 20 63 61 6e 20 | 76 61 72 79 20 64 65 70 |ite can |vary dep|
|00001d20| 65 6e 64 69 6e 67 20 6f | 6e 20 74 68 65 20 73 70 |ending o|n the sp|
|00001d30| 65 63 69 66 69 63 73 20 | 6f 66 20 74 68 65 20 74 |ecifics |of the t|
|00001d40| 65 73 74 20 73 75 69 74 | 65 2e 20 54 68 69 73 20 |est suit|e. This |
|00001d50| 73 65 63 74 69 6f 6e 20 | 64 65 73 63 72 69 62 65 |section |describe|
|00001d60| 73 20 74 68 65 20 73 65 | 74 75 70 20 72 65 71 75 |s the se|tup requ|
|00001d70| 69 72 65 64 20 74 6f 20 | 75 73 65 20 53 50 45 43 |ired to |use SPEC|
|00001d80| 20 53 26 4c 2e 20 54 68 | 65 20 66 6f 6c 6c 6f 77 | S&L. Th|e follow|
|00001d90| 69 6e 67 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |ing inst|ructions|
|00001da0| 20 61 73 73 75 6d 65 20 | 74 68 61 74 20 56 2e 55 | assume |that V.U|
|00001db0| 2e 20 69 73 20 69 6e 73 | 74 61 6c 6c 65 64 20 61 |. is ins|talled a|
|00001dc0| 63 63 6f 72 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |ccording| to the |
|00001dd0| 67 75 69 64 65 6c 69 6e | 65 73 20 70 72 65 73 65 |guidelin|es prese|
|00001de0| 6e 74 65 64 20 69 6e 20 | 27 53 65 74 74 69 6e 67 |nted in |'Setting|
|00001df0| 20 55 70 20 61 6e 64 20 | 52 75 6e 6e 69 6e 67 20 | Up and |Running |
|00001e00| 56 69 72 74 75 61 6c 20 | 55 73 65 72 27 2e 0d 54 |Virtual |User'..T|
|00001e10| 61 72 67 65 74 20 53 65 | 74 75 70 0d 31 29 20 20 |arget Se|tup.1) |
|00001e20| 49 6e 73 74 61 6c 6c 20 | 61 6c 6c 20 61 70 70 6c |Install |all appl|
|00001e30| 69 63 61 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 74 |ications| to be t|
|00001e40| 65 73 74 65 64 20 6f 6e | 20 74 61 72 67 65 74 20 |ested on| target |
|00001e50| 68 61 72 64 20 64 72 69 | 76 65 2e 20 53 65 65 20 |hard dri|ve. See |
|00001e60| 73 65 63 74 69 6f 6e 20 | 74 69 74 6c 65 64 20 22 |section |titled "|
|00001e70| 54 68 65 20 43 6c 6f 6e | 69 6e 67 20 50 72 6f 63 |The Clon|ing Proc|
|00001e80| 65 73 73 22 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |ess" for| more in|
|00001e90| 66 6f 72 6d 61 74 69 6f | 6e 2e 0d 32 29 20 20 49 |formatio|n..2) I|
|00001ea0| 6e 73 74 61 6c 6c 20 74 | 68 65 20 27 41 67 65 6e |nstall t|he 'Agen|
|00001eb0| 74 20 56 55 27 20 45 78 | 74 65 6e 73 69 6f 6e 2e |t VU' Ex|tension.|
|00001ec0| 0d 33 29 20 20 4e 61 6d | 65 20 65 61 63 68 20 74 |.3) Nam|e each t|
|00001ed0| 61 72 67 65 74 20 69 6e | 20 74 68 65 20 27 4d 61 |arget in| the 'Ma|
|00001ee0| 63 68 69 6e 65 20 4e 61 | 6d 65 27 20 66 69 65 6c |chine Na|me' fiel|
|00001ef0| 64 20 6f 66 20 74 68 65 | 20 27 53 68 61 72 69 6e |d of the| 'Sharin|
|00001f00| 67 20 53 65 74 75 70 27 | 20 43 44 45 56 2e 0d a5 |g Setup'| CDEV...|
|00001f10| 20 54 68 69 73 20 69 73 | 20 64 6f 6e 65 20 73 6f | This is| done so|
|00001f20| 20 74 68 61 74 20 74 68 | 65 20 74 61 72 67 65 74 | that th|e target|
|00001f30| 20 63 61 6e 20 62 65 20 | 69 64 65 6e 74 69 66 69 | can be |identifi|
|00001f40| 65 64 20 6f 6e 20 74 68 | 65 20 6e 65 74 2e 0d a5 |ed on th|e net...|
|00001f50| 20 49 74 20 69 73 20 6e | 65 63 65 73 73 61 72 79 | It is n|ecessary|
|00001f60| 20 74 6f 20 72 65 62 6f | 6f 74 20 61 6c 6c 20 74 | to rebo|ot all t|
|00001f70| 61 72 67 65 74 73 20 61 | 66 74 65 72 20 6e 61 6d |argets a|fter nam|
|00001f80| 69 6e 67 20 73 6f 20 74 | 68 61 74 20 74 68 65 79 |ing so t|hat they|
|00001f90| 20 63 61 6e 20 62 65 20 | 72 65 67 69 73 74 65 72 | can be |register|
|00001fa0| 65 64 20 6f 6e 20 74 68 | 65 20 6e 65 74 77 6f 72 |ed on th|e networ|
|00001fb0| 6b 2e 0d 34 29 20 20 53 | 65 74 20 74 68 65 20 4b |k..4) S|et the K|
|00001fc0| 65 79 20 52 65 70 65 61 | 74 20 52 61 74 65 20 74 |ey Repea|t Rate t|
|00001fd0| 6f 20 4f 46 46 20 69 6e | 20 74 68 65 20 27 4b 65 |o OFF in| the 'Ke|
|00001fe0| 79 62 6f 61 72 64 27 20 | 43 44 45 56 2e 0d a5 20 |yboard' |CDEV... |
|00001ff0| 20 54 68 69 73 20 69 73 | 20 64 6f 6e 65 20 73 6f | This is| done so|
|00002000| 20 74 68 61 74 20 74 79 | 70 69 6e 67 20 77 69 6c | that ty|ping wil|
|00002010| 6c 20 62 65 20 61 63 63 | 75 72 61 74 65 2c 20 61 |l be acc|urate, a|
|00002020| 6e 64 20 6c 65 74 74 65 | 72 73 20 77 69 6c 6c 20 |nd lette|rs will |
|00002030| 6e 6f 74 20 62 65 20 75 | 6e 65 78 70 65 63 74 65 |not be u|nexpecte|
|00002040| 64 6c 79 20 72 65 70 65 | 61 74 65 64 20 28 54 68 |dly repe|ated (Th|
|00002050| 69 73 20 77 69 6c 6c 20 | 63 61 75 73 65 20 65 72 |is will |cause er|
|00002060| 72 6f 72 20 77 69 74 68 | 20 6f 75 72 20 6c 61 75 |ror with| our lau|
|00002070| 6e 63 68 69 6e 67 20 73 | 63 68 65 6d 65 29 2e 0d |nching s|cheme)..|
|00002080| 35 29 20 20 53 65 6c 65 | 63 74 20 61 20 70 72 69 |5) Sele|ct a pri|
|00002090| 6e 74 65 72 20 64 72 69 | 76 65 72 20 69 6e 20 74 |nter dri|ver in t|
|000020a0| 68 65 20 27 43 68 6f 6f | 73 65 72 27 2e 0d a5 20 |he 'Choo|ser'... |
|000020b0| 54 68 69 73 20 69 73 20 | 64 6f 6e 65 20 62 65 63 |This is |done bec|
|000020c0| 61 75 73 65 20 6d 61 6e | 79 20 61 70 70 6c 69 63 |ause man|y applic|
|000020d0| 61 74 69 6f 6e 73 20 72 | 65 71 75 69 72 65 20 61 |ations r|equire a|
|000020e0| 20 70 72 69 6e 74 65 72 | 20 74 6f 20 62 65 20 73 | printer| to be s|
|000020f0| 65 6c 65 63 74 65 64 20 | 70 72 69 6f 72 20 74 6f |elected |prior to|
|00002100| 20 6f 70 65 6e 69 6e 67 | 20 61 20 6e 65 77 20 64 | opening| a new d|
|00002110| 6f 63 75 6d 65 6e 74 2e | 0d 36 29 20 20 43 6f 6e |ocument.|.6) Con|
|00002120| 66 69 67 75 72 65 20 65 | 61 63 68 20 74 61 72 67 |figure e|ach targ|
|00002130| 65 74 27 73 20 73 79 73 | 74 65 6d 20 65 6e 76 69 |et's sys|tem envi|
|00002140| 72 6f 6e 6d 65 6e 74 2e | 0d 09 a5 20 20 41 6c 6c |ronment.|... All|
|00002150| 20 73 6f 66 74 77 61 72 | 65 2f 68 61 72 64 77 61 | softwar|e/hardwa|
|00002160| 72 65 20 63 6f 6e 66 69 | 67 75 72 61 62 6c 65 20 |re confi|gurable |
|00002170| 73 79 73 74 65 6d 20 76 | 61 72 69 61 62 6c 65 73 |system v|ariables|
|00002180| 20 73 68 6f 75 6c 64 20 | 62 65 20 73 65 74 20 70 | should |be set p|
|00002190| 72 69 6f 72 20 74 6f 20 | 65 78 65 63 75 74 69 6e |rior to |executin|
|000021a0| 67 20 61 20 74 65 73 74 | 20 73 75 69 74 65 2e 20 |g a test| suite. |
|000021b0| 46 6f 72 20 69 6e 73 74 | 61 6e 63 65 3a 20 69 66 |For inst|ance: if|
|000021c0| 20 79 6f 75 72 20 74 65 | 73 74 20 73 75 69 74 65 | your te|st suite|
|000021d0| 20 72 65 71 75 69 72 65 | 73 20 74 68 61 74 20 74 | require|s that t|
|000021e0| 68 65 20 74 65 73 74 20 | 62 65 20 72 75 6e 20 69 |he test |be run i|
|000021f0| 6e 20 33 32 20 62 69 74 | 20 61 64 64 72 65 73 73 |n 32 bit| address|
|00002200| 69 6e 67 20 6d 6f 64 65 | 2c 20 69 74 20 69 73 20 |ing mode|, it is |
|00002210| 69 6d 70 6f 72 74 61 6e | 74 20 74 6f 20 70 6c 61 |importan|t to pla|
|00002220| 63 65 20 74 68 65 20 6d | 61 63 68 69 6e 65 20 69 |ce the m|achine i|
|00002230| 6e 20 74 68 69 73 20 73 | 74 61 74 65 20 28 65 69 |n this s|tate (ei|
|00002240| 74 68 65 72 20 6d 61 6e | 75 61 6c 6c 79 20 6f 72 |ther man|ually or|
|00002250| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 2d | automat|ically -|
|00002260| 20 62 79 20 77 61 79 20 | 6f 66 20 73 63 72 69 70 | by way |of scrip|
|00002270| 74 29 20 70 72 69 6f 72 | 20 74 6f 20 65 78 65 63 |t) prior| to exec|
|00002280| 75 74 69 6e 67 20 74 68 | 65 20 74 65 73 74 2e 0d |uting th|e test..|
|00002290| 09 a5 20 20 49 66 20 72 | 75 6e 6e 69 6e 67 20 74 |.. If r|unning t|
|000022a0| 68 65 20 53 50 45 43 20 | 53 26 4c 20 73 61 6d 70 |he SPEC |S&L samp|
|000022b0| 6c 65 20 63 6f 6d 70 61 | 74 69 62 69 6c 69 74 79 |le compa|tibility|
|000022c0| 20 73 63 72 69 70 74 73 | 2c 20 65 6e 73 75 72 65 | scripts|, ensure|
|000022d0| 20 74 68 65 20 66 69 72 | 73 74 20 65 6c 65 6d 65 | the fir|st eleme|
|000022e0| 6e 74 20 6f 66 20 74 68 | 65 20 53 63 72 61 70 62 |nt of th|e Scrapb|
|000022f0| 6f 6f 6b 20 63 6f 6e 74 | 61 69 6e 73 20 74 65 78 |ook cont|ains tex|
|00002300| 74 2e 20 54 68 69 73 20 | 63 61 6e 20 62 65 20 61 |t. This |can be a|
|00002310| 63 63 6f 6d 70 6c 69 73 | 68 65 64 20 62 79 20 75 |ccomplis|hed by u|
|00002320| 73 69 6e 67 20 61 6e 79 | 20 77 6f 72 64 20 70 72 |sing any| word pr|
|00002330| 6f 63 65 73 73 6f 72 20 | 74 6f 20 74 79 70 65 20 |ocessor |to type |
|00002340| 74 68 65 20 64 65 73 69 | 72 65 64 20 74 65 78 74 |the desi|red text|
|00002350| 20 61 6e 64 20 70 61 73 | 74 65 20 69 74 20 6f 6e | and pas|te it on|
|00002360| 74 6f 20 74 68 65 20 53 | 63 72 61 70 62 6f 6f 6b |to the S|crapbook|
|00002370| 2e 0d 37 29 20 4c 61 75 | 6e 63 68 69 6e 67 20 53 |..7) Lau|nching S|
|00002380| 65 74 75 70 0d a5 20 20 | 45 61 63 68 20 6f 66 20 |etup.. |Each of |
|00002390| 74 68 65 20 73 61 6d 70 | 6c 65 20 61 70 70 6c 69 |the samp|le appli|
|000023a0| 63 61 74 69 6f 6e 20 73 | 63 72 69 70 74 73 20 72 |cation s|cripts r|
|000023b0| 65 66 65 72 65 6e 63 65 | 73 20 61 20 67 6c 6f 62 |eference|s a glob|
|000023c0| 61 6c 20 76 61 72 69 61 | 62 6c 65 20 69 6e 20 74 |al varia|ble in t|
|000023d0| 68 65 20 47 6c 6f 62 61 | 6c 73 2e 6c 69 62 20 74 |he Globa|ls.lib t|
|000023e0| 69 74 6c 65 64 20 67 41 | 6c 69 61 73 44 69 72 65 |itled gA|liasDire|
|000023f0| 63 74 6f 72 79 2e 20 54 | 68 69 73 20 67 6c 6f 62 |ctory. T|his glob|
|00002400| 61 6c 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 74 |al varia|ble is t|
|00002410| 68 65 20 6e 61 6d 65 20 | 6f 66 20 61 20 64 69 72 |he name |of a dir|
|00002420| 65 63 74 6f 72 79 20 28 | 6f 72 20 61 6c 69 61 73 |ectory (|or alias|
|00002430| 20 74 6f 20 61 20 64 69 | 72 65 63 74 6f 72 79 29 | to a di|rectory)|
|00002440| 20 69 6e 20 74 68 65 20 | 41 70 70 6c 65 20 4d 65 | in the |Apple Me|
|00002450| 6e 75 2c 20 77 68 69 63 | 68 20 63 6f 6e 74 61 69 |nu, whic|h contai|
|00002460| 6e 73 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |ns the a|pplicati|
|00002470| 6f 6e 73 20 28 6f 72 20 | 61 70 70 6c 69 63 61 74 |ons (or |applicat|
|00002480| 69 6f 6e 20 61 6c 69 61 | 73 65 73 29 2e 20 0d 20 |ion alia|ses). . |
|00002490| 54 6f 20 75 73 65 20 74 | 68 65 20 64 65 66 61 75 |To use t|he defau|
|000024a0| 6c 74 20 6c 61 75 6e 63 | 68 69 6e 67 20 6d 65 74 |lt launc|hing met|
|000024b0| 68 6f 64 3a 0d 31 29 20 | 43 72 65 61 74 65 20 61 |hod:.1) |Create a|
|000024c0| 6e 64 20 6e 61 6d 65 20 | 61 20 66 6f 6c 64 65 72 |nd name |a folder|
|000024d0| 20 6f 6e 20 74 68 65 20 | 74 61 72 67 65 74 20 68 | on the |target h|
|000024e0| 61 72 64 20 64 69 73 6b | 3a 20 66 6f 72 20 65 78 |ard disk|: for ex|
|000024f0| 61 6d 70 6c 65 3a 20 27 | 23 41 6c 69 61 73 65 73 |ample: '|#Aliases|
|00002500| 27 27 2e 20 54 68 69 73 | 20 69 73 20 74 68 65 20 |''. This| is the |
|00002510| 64 65 66 61 75 6c 74 20 | 6e 61 6d 65 20 74 68 61 |default |name tha|
|00002520| 74 20 69 73 20 61 73 73 | 69 67 6e 65 64 20 74 6f |t is ass|igned to|
|00002530| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 41 6c 69 61 | the glo|bal Alia|
|00002540| 73 44 69 72 65 63 74 6f | 72 79 2e 0d 32 29 20 50 |sDirecto|ry..2) P|
|00002550| 6c 61 63 65 20 61 6e 20 | 61 6c 69 61 73 20 74 6f |lace an |alias to|
|00002560| 20 74 68 69 73 20 66 6f | 6c 64 65 72 20 69 6e 20 | this fo|lder in |
|00002570| 74 68 65 20 27 41 70 70 | 6c 65 20 4d 65 6e 75 20 |the 'App|le Menu |
|00002580| 49 74 65 6d 73 27 20 66 | 6f 6c 64 65 72 2e 0d 33 |Items' f|older..3|
|00002590| 29 20 50 6c 61 63 65 20 | 61 6c 69 61 73 65 73 20 |) Place |aliases |
|000025a0| 74 6f 20 61 6c 6c 20 61 | 70 70 6c 69 63 61 74 69 |to all a|pplicati|
|000025b0| 6f 6e 73 20 69 6e 20 74 | 68 65 20 27 23 41 6c 69 |ons in t|he '#Ali|
|000025c0| 61 73 65 73 27 20 66 6f | 6c 64 65 72 2e 0d 4e 6f |ases' fo|lder..No|
|000025d0| 74 65 3a 20 54 68 65 20 | 27 23 27 20 73 69 67 6e |te: The |'#' sign|
|000025e0| 20 70 72 65 63 65 64 65 | 73 20 74 68 65 20 6e 61 | precede|s the na|
|000025f0| 6d 65 20 27 41 6c 69 61 | 73 65 73 27 20 73 6f 20 |me 'Alia|ses' so |
|00002600| 74 68 61 74 20 69 74 20 | 77 69 6c 6c 20 62 65 20 |that it |will be |
|00002610| 61 74 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 |at the t|op of th|
|00002620| 65 20 41 70 70 6c 65 20 | 4d 65 6e 75 2c 20 77 68 |e Apple |Menu, wh|
|00002630| 69 63 68 20 69 73 20 73 | 6f 72 74 65 64 20 61 6c |ich is s|orted al|
|00002640| 70 68 61 62 65 74 69 63 | 61 6c 6c 79 2e 0d 41 6e |phabetic|ally..An|
|00002650| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 20 6d 65 74 | alterna|tive met|
|00002660| 68 6f 64 20 69 73 20 74 | 6f 20 70 6c 61 63 65 20 |hod is t|o place |
|00002670| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00002680| 28 6f 72 20 69 74 73 20 | 61 6c 69 61 73 29 20 69 |(or its |alias) i|
|00002690| 6e 20 74 68 65 20 41 70 | 70 6c 65 20 4d 65 6e 75 |n the Ap|ple Menu|
|000026a0| 20 64 69 72 65 63 74 6c | 79 2e 0d 48 6f 73 74 0d | directl|y..Host.|
|000026b0| 53 50 45 43 20 53 26 4c | 20 72 65 71 75 69 72 65 |SPEC S&L| require|
|000026c0| 73 20 56 69 72 74 75 61 | 6c 20 55 73 65 72 20 32 |s Virtua|l User 2|
|000026d0| 2e 30 78 2c 20 62 75 74 | 20 64 6f 65 73 20 6e 6f |.0x, but| does no|
|000026e0| 74 20 72 65 71 75 69 72 | 65 20 61 6e 79 20 75 6e |t requir|e any un|
|000026f0| 69 71 75 65 20 73 65 74 | 75 70 20 66 6f 72 20 74 |ique set|up for t|
|00002700| 68 65 20 68 6f 73 74 20 | 6d 61 63 68 69 6e 65 20 |he host |machine |
|00002710| 65 78 63 65 70 74 20 66 | 6f 72 20 61 6c 6c 6f 63 |except f|or alloc|
|00002720| 61 74 69 6e 67 20 65 6e | 6f 75 67 68 20 6d 65 6d |ating en|ough mem|
|00002730| 6f 72 79 20 74 6f 20 74 | 68 65 20 56 69 72 74 75 |ory to t|he Virtu|
|00002740| 61 6c 20 55 73 65 72 20 | 61 70 70 6c 69 63 61 74 |al User |applicat|
|00002750| 69 6f 6e 20 76 69 61 20 | 74 68 65 20 47 65 74 20 |ion via |the Get |
|00002760| 49 6e 66 6f 20 62 6f 78 | 2e 20 57 68 65 6e 20 75 |Info box|. When u|
|00002770| 73 69 6e 67 20 53 50 45 | 43 20 53 26 4c 2c 20 61 |sing SPE|C S&L, a|
|00002780| 74 20 6c 65 61 73 74 20 | 34 20 4d 42 20 70 6c 75 |t least |4 MB plu|
|00002790| 73 20 61 6e 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |s an add|itional |
|000027a0| 2e 33 20 4d 42 20 70 65 | 72 20 74 61 72 67 65 74 |.3 MB pe|r target|
|000027b0| 20 69 73 20 72 65 63 6f | 6d 6d 65 6e 64 65 64 20 | is reco|mmended |
|000027c0| 66 6f 72 20 56 2e 55 2e | 20 20 50 6c 65 61 73 65 |for V.U.| Please|
|000027d0| 20 72 65 66 65 72 20 74 | 6f 20 53 65 74 74 69 6e | refer t|o Settin|
|000027e0| 67 20 55 70 20 61 6e 64 | 20 52 75 6e 6e 69 6e 67 |g Up and| Running|
|000027f0| 20 56 69 72 74 75 61 6c | 20 55 73 65 72 20 20 61 | Virtual| User a|
|00002800| 6e 64 2f 6f 72 20 56 69 | 72 74 75 61 6c 20 55 73 |nd/or Vi|rtual Us|
|00002810| 65 72 20 4c 61 6e 67 75 | 61 67 65 20 52 65 66 65 |er Langu|age Refe|
|00002820| 72 65 6e 63 65 20 47 75 | 69 64 65 2e 20 0d 54 68 |rence Gu|ide. .Th|
|00002830| 65 20 43 6c 6f 6e 69 6e | 67 20 50 72 6f 63 65 73 |e Clonin|g Proces|
|00002840| 73 0d 4b 65 65 70 69 6e | 67 20 63 75 72 72 65 6e |s.Keepin|g curren|
|00002850| 74 20 76 65 72 73 69 6f | 6e 73 20 6f 66 20 74 68 |t versio|ns of th|
|00002860| 69 72 64 20 70 61 72 74 | 79 20 73 6f 66 74 77 61 |ird part|y softwa|
|00002870| 72 65 20 6f 6e 20 61 6c | 6c 20 74 61 72 67 65 74 |re on al|l target|
|00002880| 20 6d 61 63 68 69 6e 65 | 73 20 69 73 20 63 72 69 | machine|s is cri|
|00002890| 74 69 63 61 6c 20 74 6f | 20 6d 61 69 6e 74 61 69 |tical to| maintai|
|000028a0| 6e 69 6e 67 20 63 6f 6d | 70 61 74 69 62 69 6c 69 |ning com|patibili|
|000028b0| 74 79 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 20 |ty infor|mation. |
|000028c0| 43 6c 6f 6e 69 6e 67 20 | 68 61 72 64 20 64 72 69 |Cloning |hard dri|
|000028d0| 76 65 73 20 69 73 20 61 | 20 6d 65 74 68 6f 64 20 |ves is a| method |
|000028e0| 75 73 65 64 20 74 6f 20 | 75 70 64 61 74 65 20 6e |used to |update n|
|000028f0| 75 6d 65 72 6f 75 73 20 | 74 61 72 67 65 74 20 68 |umerous |target h|
|00002900| 61 72 64 20 64 72 69 76 | 65 73 20 63 6f 6e 63 75 |ard driv|es concu|
|00002910| 72 72 65 6e 74 6c 79 2e | 20 54 68 65 20 63 6c 6f |rrently.| The clo|
|00002920| 6e 69 6e 67 20 70 72 6f | 63 65 73 73 20 65 6e 74 |ning pro|cess ent|
|00002930| 61 69 6c 73 20 65 73 74 | 61 62 6c 69 73 68 69 6e |ails est|ablishin|
|00002940| 67 20 61 20 73 69 6e 67 | 6c 65 20 68 61 72 64 20 |g a sing|le hard |
|00002950| 64 72 69 76 65 2c 20 74 | 68 65 20 27 43 6c 6f 6e |drive, t|he 'Clon|
|00002960| 65 20 4d 61 73 74 65 72 | 27 20 77 69 74 68 20 74 |e Master|' with t|
|00002970| 68 65 20 6c 61 74 65 73 | 74 20 76 65 72 73 69 6f |he lates|t versio|
|00002980| 6e 20 6f 66 20 65 61 63 | 68 20 61 70 70 6c 69 63 |n of eac|h applic|
|00002990| 61 74 69 6f 6e 20 74 6f | 20 62 65 20 74 65 73 74 |ation to| be test|
|000029a0| 65 64 2e 20 54 68 65 20 | 43 6c 6f 6e 65 20 4d 61 |ed. The |Clone Ma|
|000029b0| 73 74 65 72 20 74 68 65 | 6e 20 6e 65 65 64 73 20 |ster the|n needs |
|000029c0| 74 6f 20 62 65 20 63 6f | 70 69 65 64 20 74 6f 20 |to be co|pied to |
|000029d0| 65 61 63 68 20 6f 66 20 | 74 68 65 20 74 61 72 67 |each of |the targ|
|000029e0| 65 74 20 43 50 55 27 73 | 2e 20 0d 54 68 65 20 73 |et CPU's|. .The s|
|000029f0| 65 63 74 69 6f 6e 20 74 | 68 61 74 20 66 6f 6c 6c |ection t|hat foll|
|00002a00| 6f 77 73 20 64 65 74 61 | 69 6c 73 20 74 68 65 20 |ows deta|ils the |
|00002a10| 73 74 65 70 73 20 74 6f | 20 62 65 20 74 61 6b 65 |steps to| be take|
|00002a20| 6e 20 77 68 65 6e 20 73 | 65 74 74 69 6e 67 20 75 |n when s|etting u|
|00002a30| 70 20 74 68 65 20 43 6c | 6f 6e 65 20 4d 61 73 74 |p the Cl|one Mast|
|00002a40| 65 72 20 61 6e 64 20 63 | 6c 6f 6e 69 6e 67 20 69 |er and c|loning i|
|00002a50| 74 3a 0d 31 29 20 20 43 | 6f 70 79 20 61 6c 6c 20 |t:.1) C|opy all |
|00002a60| 6f 66 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |of the a|pplicati|
|00002a70| 6f 6e 73 20 28 61 6e 64 | 20 61 70 70 72 6f 70 72 |ons (and| appropr|
|00002a80| 69 61 74 65 20 66 69 6c | 65 73 29 20 74 6f 20 62 |iate fil|es) to b|
|00002a90| 65 20 74 65 73 74 65 64 | 20 74 6f 20 74 68 65 20 |e tested| to the |
|00002aa0| 43 6c 6f 6e 65 20 4d 61 | 73 74 65 72 20 68 61 72 |Clone Ma|ster har|
|00002ab0| 64 20 64 72 69 76 65 2e | 0d 4e 6f 74 65 3a 20 4e |d drive.|.Note: N|
|00002ac0| 6f 72 6d 61 6c 6c 79 2c | 20 6f 6e 6c 79 20 66 69 |ormally,| only fi|
|00002ad0| 6c 65 73 20 77 68 69 63 | 68 20 61 72 65 20 72 65 |les whic|h are re|
|00002ae0| 71 75 69 72 65 64 20 61 | 72 65 20 63 6f 70 69 65 |quired a|re copie|
|00002af0| 64 20 74 6f 20 74 68 65 | 20 43 6c 6f 6e 65 20 4d |d to the| Clone M|
|00002b00| 61 73 74 65 72 2e 20 4f | 66 74 65 6e 20 74 68 65 |aster. O|ften the|
|00002b10| 72 65 20 61 72 65 20 73 | 75 70 70 6c 65 6d 65 6e |re are s|upplemen|
|00002b20| 74 61 6c 20 66 69 6c 65 | 73 20 69 6e 20 70 72 6f |tal file|s in pro|
|00002b30| 64 75 63 74 20 70 61 63 | 6b 61 67 65 73 2c 20 61 |duct pac|kages, a|
|00002b40| 6e 64 20 74 68 65 73 65 | 20 66 69 6c 65 73 20 63 |nd these| files c|
|00002b50| 61 6e 20 75 73 75 61 6c | 6c 79 20 62 65 20 72 65 |an usual|ly be re|
|00002b60| 6d 6f 76 65 64 20 74 6f | 20 66 72 65 65 20 64 69 |moved to| free di|
|00002b70| 73 6b 20 73 70 61 63 65 | 2e 20 0d 57 65 20 68 61 |sk space|. .We ha|
|00002b80| 76 65 20 64 69 73 74 69 | 6e 67 75 69 73 68 65 64 |ve disti|nguished|
|00002b90| 20 66 6f 75 72 20 74 79 | 70 65 73 20 6f 66 20 66 | four ty|pes of f|
|00002ba0| 69 6c 65 73 3a 0d 09 2d | 20 20 46 69 6c 65 73 20 |iles:..-| Files |
|00002bb0| 77 68 69 63 68 20 61 72 | 65 20 72 65 71 75 69 72 |which ar|e requir|
|00002bc0| 65 64 20 66 6f 72 20 74 | 68 65 20 61 70 70 6c 69 |ed for t|he appli|
|00002bd0| 63 61 74 69 6f 6e 20 74 | 6f 20 6c 61 75 6e 63 68 |cation t|o launch|
|00002be0| 0d 09 2d 20 20 46 69 6c | 65 73 20 77 68 69 63 68 |..- Fil|es which|
|00002bf0| 20 61 72 65 20 6e 6f 74 | 20 72 65 71 75 69 72 65 | are not| require|
|00002c00| 64 20 62 75 74 20 74 65 | 73 74 20 73 79 73 74 65 |d but te|st syste|
|00002c10| 6d 20 66 75 6e 63 74 69 | 6f 6e 61 6c 69 74 79 0d |m functi|onality.|
|00002c20| 09 2d 20 20 53 75 70 70 | 6c 65 6d 65 6e 74 61 6c |.- Supp|lemental|
|00002c30| 20 46 69 6c 65 73 0d 09 | 2d 20 20 53 61 6d 70 6c | Files..|- Sampl|
|00002c40| 65 20 64 6f 63 75 6d 65 | 6e 74 73 0d 32 29 20 20 |e docume|nts.2) |
|00002c50| 41 66 74 65 72 20 43 6c | 6f 6e 65 20 4d 61 73 74 |After Cl|one Mast|
|00002c60| 65 72 20 68 61 73 20 62 | 65 65 6e 20 75 70 64 61 |er has b|een upda|
|00002c70| 74 65 64 2c 20 61 6c 69 | 61 73 65 73 20 74 6f 20 |ted, ali|ases to |
|00002c80| 65 61 63 68 20 6f 66 20 | 74 68 65 20 61 70 70 6c |each of |the appl|
|00002c90| 69 63 61 74 69 6f 6e 73 | 20 6e 65 65 64 20 74 6f |ications| need to|
|00002ca0| 20 62 65 20 63 72 65 61 | 74 65 64 2e 20 50 6c 61 | be crea|ted. Pla|
|00002cb0| 63 65 20 61 6c 6c 20 61 | 6c 69 61 73 65 73 20 69 |ce all a|liases i|
|00002cc0| 6e 20 61 20 73 69 6e 67 | 6c 65 20 66 6f 6c 64 65 |n a sing|le folde|
|00002cd0| 72 20 28 23 41 6c 69 61 | 73 65 73 29 2c 20 74 68 |r (#Alia|ses), th|
|00002ce0| 65 73 65 20 77 69 6c 6c | 20 62 65 20 75 73 65 64 |ese will| be used|
|00002cf0| 20 74 6f 20 6c 61 75 6e | 63 68 20 74 68 65 20 61 | to laun|ch the a|
|00002d00| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 20 0d 4e 6f |pplicati|ons. .No|
|00002d10| 74 65 3a 20 52 65 6d 65 | 6d 62 65 72 20 74 68 61 |te: Reme|mber tha|
|00002d20| 74 20 74 68 65 20 73 74 | 61 74 65 20 6f 66 20 74 |t the st|ate of t|
|00002d30| 68 65 20 43 6c 6f 6e 65 | 20 4d 61 73 74 65 72 20 |he Clone| Master |
|00002d40| 77 69 6c 6c 20 64 69 72 | 65 63 74 6c 79 20 65 66 |will dir|ectly ef|
|00002d50| 66 65 63 74 20 74 68 65 | 20 73 74 61 74 65 20 6f |fect the| state o|
|00002d60| 66 20 61 6c 6c 20 68 61 | 72 64 20 64 72 69 76 65 |f all ha|rd drive|
|00002d70| 73 20 63 6c 6f 6e 65 64 | 20 66 72 6f 6d 20 69 74 |s cloned| from it|
|00002d80| 2e 20 4d 61 6b 65 20 73 | 75 72 65 20 74 68 61 74 |. Make s|ure that|
|00002d90| 20 65 76 65 72 79 74 68 | 69 6e 67 20 69 73 20 73 | everyth|ing is s|
|00002da0| 65 74 20 75 70 20 74 68 | 65 20 77 61 79 20 79 6f |et up th|e way yo|
|00002db0| 75 20 69 6e 74 65 6e 64 | 2c 20 6f 74 68 65 72 77 |u intend|, otherw|
|00002dc0| 69 73 65 20 61 20 6c 6f | 6e 67 20 61 6e 64 20 74 |ise a lo|ng and t|
|00002dd0| 65 64 69 6f 75 73 20 70 | 72 6f 63 65 73 73 20 6f |edious p|rocess o|
|00002de0| 66 20 6d 61 6e 75 61 6c | 6c 79 20 75 70 64 61 74 |f manual|ly updat|
|00002df0| 69 6e 67 20 61 6c 6c 20 | 74 61 72 67 65 74 20 64 |ing all |target d|
|00002e00| 72 69 76 65 73 20 6d 61 | 79 20 62 65 20 6e 65 63 |rives ma|y be nec|
|00002e10| 65 73 73 61 72 79 2e 20 | 54 68 65 20 62 65 73 74 |essary. |The best|
|00002e20| 20 77 61 79 20 74 6f 20 | 74 65 73 74 20 74 68 61 | way to |test tha|
|00002e30| 74 20 79 6f 75 72 20 43 | 6c 6f 6e 65 20 4d 61 73 |t your C|lone Mas|
|00002e40| 74 65 72 20 69 73 20 73 | 65 74 20 75 70 20 70 72 |ter is s|et up pr|
|00002e50| 6f 70 65 72 6c 79 20 69 | 73 20 74 6f 20 72 75 6e |operly i|s to run|
|00002e60| 20 61 20 66 75 6c 6c 20 | 73 65 72 69 65 73 20 6f | a full |series o|
|00002e70| 66 20 73 63 72 69 70 74 | 73 20 61 67 61 69 6e 73 |f script|s agains|
|00002e80| 74 20 74 68 65 20 43 6c | 6f 6e 65 20 4d 61 73 74 |t the Cl|one Mast|
|00002e90| 65 72 2e 20 54 68 69 73 | 20 77 69 6c 6c 20 69 6e |er. This| will in|
|00002ea0| 73 75 72 65 20 74 68 61 | 74 20 61 6c 6c 20 6f 66 |sure tha|t all of|
|00002eb0| 20 74 68 65 20 72 65 71 | 75 69 72 65 64 20 66 69 | the req|uired fi|
|00002ec0| 6c 65 73 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |les are |availabl|
|00002ed0| 65 20 66 6f 72 20 65 61 | 63 68 20 61 70 70 6c 69 |e for ea|ch appli|
|00002ee0| 63 61 74 69 6f 6e 2e 20 | 0d 09 31 29 20 44 6f 75 |cation. |..1) Dou|
|00002ef0| 62 6c 65 2d 63 6c 69 63 | 6b 20 65 61 63 68 20 61 |ble-clic|k each a|
|00002f00| 6c 69 61 73 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 |lias to |make sur|
|00002f10| 65 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |e the ap|plicatio|
|00002f20| 6e 20 6c 61 75 6e 63 68 | 65 73 2e 0d 4e 6f 74 65 |n launch|es..Note|
|00002f30| 3a 20 20 49 66 20 61 6e | 20 61 6c 69 61 73 20 69 |: If an| alias i|
|00002f40| 73 20 6d 61 64 65 20 6f | 6e 20 74 68 65 20 43 6c |s made o|n the Cl|
|00002f50| 6f 6e 65 20 4d 61 73 74 | 65 72 20 74 68 65 20 61 |one Mast|er the a|
|00002f60| 6c 69 61 73 20 77 69 6c | 6c 20 6e 6f 74 20 77 6f |lias wil|l not wo|
|00002f70| 72 6b 20 6f 6e 20 61 20 | 64 72 69 76 65 20 74 68 |rk on a |drive th|
|00002f80| 61 74 20 77 61 73 20 64 | 69 72 65 63 74 6c 79 20 |at was d|irectly |
|00002f90| 63 6f 70 69 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |copied f|rom the |
|00002fa0| 43 6c 6f 6e 65 20 4d 61 | 73 74 65 72 20 75 6e 6c |Clone Ma|ster unl|
|00002fb0| 65 73 73 20 69 74 20 69 | 73 20 6e 61 6d 65 64 20 |ess it i|s named |
|00002fc0| 74 68 65 20 73 61 6d 65 | 2e 0d 32 29 20 20 49 66 |the same|..2) If|
|00002fd0| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 | an appl|ication |
|00002fe0| 68 61 73 20 61 20 73 70 | 65 63 69 61 6c 20 72 65 |has a sp|ecial re|
|00002ff0| 67 69 73 74 72 61 74 69 | 6f 6e 20 73 63 72 65 65 |gistrati|on scree|
|00003000| 6e 2c 20 73 75 63 68 20 | 61 73 20 4e 61 6d 65 2c |n, such |as Name,|
|00003010| 20 50 61 73 73 77 6f 72 | 64 2c 20 65 74 63 2e 20 | Passwor|d, etc. |
|00003020| 65 6e 74 65 72 20 74 68 | 65 20 69 6e 66 6f 72 6d |enter th|e inform|
|00003030| 61 74 69 6f 6e 20 6e 65 | 63 65 73 73 61 72 79 20 |ation ne|cessary |
|00003040| 74 6f 20 64 69 73 6d 69 | 73 73 20 74 68 69 73 20 |to dismi|ss this |
|00003050| 73 63 72 65 65 6e 2e 0d | 33 29 20 43 68 65 63 6b |screen..|3) Check|
|00003060| 20 74 6f 20 69 6e 73 75 | 72 65 20 74 68 61 74 20 | to insu|re that |
|00003070| 61 6c 6c 20 72 65 71 75 | 69 72 65 64 20 74 6f 6f |all requ|ired too|
|00003080| 6c 73 20 65 78 69 73 74 | 2e 0d 2d 20 4d 61 63 73 |ls exist|..- Macs|
|00003090| 62 75 67 2c 20 61 6e 64 | 20 44 65 62 75 67 67 65 |bug, and| Debugge|
|000030a0| 72 20 50 72 65 66 73 2c | 20 41 67 65 6e 74 20 56 |r Prefs,| Agent V|
|000030b0| 55 2c 20 50 72 6f 67 72 | 61 6d 6d 65 72 27 73 20 |U, Progr|ammer's |
|000030c0| 4b 65 79 2c 20 52 65 73 | 45 64 69 74 2c 20 56 2e |Key, Res|Edit, V.|
|000030d0| 55 2e 20 45 78 74 65 72 | 6e 61 6c 20 54 6f 6f 6c |U. Exter|nal Tool|
|000030e0| 73 2c 20 65 74 63 2e 0d | 34 29 20 43 68 65 63 6b |s, etc..|4) Check|
|000030f0| 20 74 6f 20 69 6e 73 75 | 72 65 20 61 6c 6c 20 72 | to insu|re all r|
|00003100| 65 71 75 69 72 65 64 20 | 66 69 6c 65 73 20 65 78 |equired |files ex|
|00003110| 69 73 74 2e 0d 09 09 2d | 20 53 61 6d 70 6c 65 20 |ist....-| Sample |
|00003120| 46 69 6c 65 73 0d 2d 20 | 46 69 6c 65 73 20 6e 65 |Files.- |Files ne|
|00003130| 65 64 65 64 20 66 6f 72 | 20 73 63 72 69 70 74 20 |eded for| script |
|00003140| 65 78 65 63 75 74 69 6f | 6e 2c 20 65 2e 67 2e 20 |executio|n, e.g. |
|00003150| 49 66 20 53 70 65 6c 6c | 20 43 68 65 63 6b 69 6e |If Spell| Checkin|
|00003160| 67 20 69 73 20 74 65 73 | 74 65 64 2c 20 69 73 20 |g is tes|ted, is |
|00003170| 61 20 64 69 63 74 69 6f | 6e 61 72 79 20 70 72 65 |a dictio|nary pre|
|00003180| 73 65 6e 74 2e 0d 09 09 | 2d 20 46 69 6c 65 73 20 |sent....|- Files |
|00003190| 6e 65 63 65 73 73 61 72 | 79 20 66 6f 72 20 6c 61 |necessar|y for la|
|000031a0| 75 6e 63 68 69 6e 67 2e | 0d 33 29 20 20 54 68 65 |unching.|.3) The|
|000031b0| 20 66 69 6e 61 6c 20 73 | 74 65 70 20 6f 66 20 74 | final s|tep of t|
|000031c0| 68 65 20 63 6c 6f 6e 65 | 20 70 72 6f 63 65 73 73 |he clone| process|
|000031d0| 20 69 73 20 74 6f 20 63 | 6f 70 79 20 43 6c 6f 6e | is to c|opy Clon|
|000031e0| 65 20 4d 61 73 74 65 72 | 20 74 6f 20 65 61 63 68 |e Master| to each|
|000031f0| 20 74 61 72 67 65 74 20 | 64 72 69 76 65 2e 20 54 | target |drive. T|
|00003200| 68 65 72 65 20 61 72 65 | 20 74 77 6f 20 6d 65 74 |here are| two met|
|00003210| 68 6f 64 73 20 77 65 20 | 6e 6f 72 6d 61 6c 6c 79 |hods we |normally|
|00003220| 20 75 73 65 20 66 6f 72 | 20 63 6c 6f 6e 69 6e 67 | use for| cloning|
|00003230| 20 61 6e 64 2f 6f 72 20 | 75 70 64 61 74 69 6e 67 | and/or |updating|
|00003240| 20 64 72 69 76 65 28 73 | 29 2e 20 0d 41 29 20 20 | drive(s|). .A) |
|00003250| 46 69 6e 64 65 72 20 43 | 6f 70 79 20 2d 20 0d 09 |Finder C|opy - ..|
|00003260| 31 29 20 4d 6f 75 6e 74 | 20 74 68 65 20 43 6c 6f |1) Mount| the Clo|
|00003270| 6e 65 20 4d 61 73 74 65 | 72 20 61 6e 64 20 74 68 |ne Maste|r and th|
|00003280| 65 20 64 72 69 76 65 20 | 74 6f 20 62 65 20 63 6c |e drive |to be cl|
|00003290| 6f 6e 65 64 2e 0d 09 32 | 29 20 45 72 61 73 65 64 |oned...2|) Erased|
|000032a0| 2f 20 52 65 66 6f 72 6d | 61 74 20 74 68 65 20 64 |/ Reform|at the d|
|000032b0| 72 69 76 65 20 74 6f 20 | 62 65 20 63 6c 6f 6e 65 |rive to |be clone|
|000032c0| 64 2e 0d 33 29 20 53 65 | 6c 65 63 74 20 61 6c 6c |d..3) Se|lect all|
|000032d0| 20 74 68 65 20 66 69 6c | 65 73 20 6f 6e 20 74 68 | the fil|es on th|
|000032e0| 65 20 43 6c 6f 6e 65 20 | 4d 61 73 74 65 72 20 61 |e Clone |Master a|
|000032f0| 6e 64 20 64 72 61 67 20 | 74 68 65 6d 20 74 6f 20 |nd drag |them to |
|00003300| 74 68 65 20 64 72 69 76 | 65 20 74 6f 20 62 65 20 |the driv|e to be |
|00003310| 63 6c 6f 6e 65 64 2e 0d | 4e 6f 74 65 3a 20 20 54 |cloned..|Note: T|
|00003320| 68 65 20 6e 61 6d 65 73 | 20 73 68 6f 75 6c 64 20 |he names| should |
|00003330| 62 65 20 74 68 65 20 73 | 61 6d 65 20 69 6e 20 6f |be the s|ame in o|
|00003340| 72 64 65 72 20 66 6f 72 | 20 74 68 65 20 61 6c 69 |rder for| the ali|
|00003350| 61 73 65 73 20 74 6f 20 | 62 65 20 72 65 73 6f 6c |ases to |be resol|
|00003360| 76 65 64 2e 0d 42 29 20 | 47 72 61 63 65 4c 41 4e |ved..B) |GraceLAN|
|00003370| 20 2d 20 55 70 64 61 74 | 65 20 4d 61 6e 61 67 65 | - Updat|e Manage|
|00003380| 72 20 74 6f 6f 6c 2e 0d | 4e 6f 74 65 3a 0d 53 6f |r tool..|Note:.So|
|00003390| 6d 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |me appli|cations |
|000033a0| 72 65 71 75 69 72 65 20 | 73 65 72 69 61 6c 20 6e |require |serial n|
|000033b0| 75 6d 62 65 72 73 2c 20 | 6f 72 20 68 61 76 65 20 |umbers, |or have |
|000033c0| 61 20 63 6f 70 79 20 70 | 72 6f 74 65 63 74 69 6f |a copy p|rotectio|
|000033d0| 6e 20 6d 65 63 68 61 6e | 69 73 6d 20 74 6f 20 70 |n mechan|ism to p|
|000033e0| 72 65 76 65 6e 74 20 6d | 75 6c 74 69 70 6c 65 20 |revent m|ultiple |
|000033f0| 63 6f 70 69 65 73 20 72 | 75 6e 6e 69 6e 67 20 73 |copies r|unning s|
|00003400| 69 6d 75 6c 74 61 6e 65 | 6f 75 73 6c 79 2e 20 57 |imultane|ously. W|
|00003410| 68 65 6e 20 65 78 65 63 | 75 74 69 6e 67 20 73 63 |hen exec|uting sc|
|00003420| 72 69 70 74 73 20 66 6f | 72 20 74 68 6f 73 65 20 |ripts fo|r those |
|00003430| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 6f 6e 20 6d |applicat|ion on m|
|00003440| 6f 72 65 20 74 68 61 6e | 20 6f 6e 65 20 74 61 72 |ore than| one tar|
|00003450| 67 65 74 2c 20 6f 6e 6c | 79 20 74 68 65 20 66 69 |get, onl|y the fi|
|00003460| 72 73 74 20 63 6f 70 79 | 20 6f 66 20 74 68 65 20 |rst copy| of the |
|00003470| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 69 6c 6c |applicat|ion will|
|00003480| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 6c 61 75 6e | be able| to laun|
|00003490| 63 68 2c 20 61 6c 6c 20 | 74 68 65 20 6f 74 68 65 |ch, all |the othe|
|000034a0| 72 73 20 77 69 6c 6c 20 | 67 65 74 20 61 6e 20 65 |rs will |get an e|
|000034b0| 72 72 6f 72 2e 20 54 68 | 65 20 73 63 72 69 70 74 |rror. Th|e script|
|000034c0| 73 20 66 6f 72 20 74 68 | 6f 73 65 20 61 70 70 6c |s for th|ose appl|
|000034d0| 69 63 61 74 69 6f 6e 73 | 20 61 72 65 3a 20 34 44 |ications| are: 4D|
|000034e0| 2e 76 75 2c 20 43 61 6e | 76 61 73 2e 76 75 2c 20 |.vu, Can|vas.vu, |
|000034f0| 4d 61 74 68 65 6d 61 74 | 69 63 61 2e 76 75 2c 20 |Mathemat|ica.vu, |
|00003500| 61 6e 64 20 51 75 61 72 | 6b 58 70 72 65 73 73 2e |and Quar|kXpress.|
|00003510| 76 75 2c 20 50 68 6f 74 | 6f 53 68 6f 70 2e 76 75 |vu, Phot|oShop.vu|
|00003520| 20 61 6e 64 20 44 69 72 | 65 63 74 6f 72 2e 76 75 | and Dir|ector.vu|
|00003530| 2e 0d 0d 0d 50 61 72 74 | 20 49 49 20 d0 20 44 65 |....Part| II . De|
|00003540| 76 65 6c 6f 70 6d 65 6e | 74 0d 0d 43 6f 6d 70 61 |velopmen|t..Compa|
|00003550| 74 69 62 69 6c 69 74 79 | 20 53 63 72 69 70 74 73 |tibility| Scripts|
|00003560| 20 4f 76 65 72 76 69 65 | 77 0d 54 68 65 20 73 63 | Overvie|w.The sc|
|00003570| 72 69 70 74 73 20 70 72 | 6f 76 69 64 65 64 20 69 |ripts pr|ovided i|
|00003580| 6e 20 74 68 69 73 20 70 | 72 6f 64 75 63 74 20 61 |n this p|roduct a|
|00003590| 72 65 20 65 78 61 6d 70 | 6c 65 73 20 62 61 73 65 |re examp|les base|
|000035a0| 64 20 6f 6e 20 74 68 65 | 20 69 6e 63 6c 75 64 65 |d on the| include|
|000035b0| 64 20 6c 69 62 72 61 72 | 69 65 73 2e 20 41 6c 6c |d librar|ies. All|
|000035c0| 20 74 68 65 20 63 6f 6d | 70 61 74 69 62 69 6c 69 | the com|patibili|
|000035d0| 74 79 20 73 63 72 69 70 | 74 73 20 66 61 6c 6c 20 |ty scrip|ts fall |
|000035e0| 75 6e 64 65 72 20 74 68 | 65 20 63 61 74 65 67 6f |under th|e catego|
|000035f0| 72 79 20 6f 66 20 51 75 | 69 63 6b 6c 6f 6f 6b 20 |ry of Qu|icklook |
|00003600| 74 65 73 74 2e 20 54 68 | 65 20 74 65 72 6d 20 51 |test. Th|e term Q|
|00003610| 75 69 63 6b 6c 6f 6f 6b | 20 69 73 20 75 73 65 64 |uicklook| is used|
|00003620| 20 74 6f 20 64 65 66 69 | 6e 65 20 61 20 73 65 74 | to defi|ne a set|
|00003630| 20 6f 66 20 74 65 73 74 | 73 20 74 68 61 74 20 65 | of test|s that e|
|00003640| 78 65 72 63 69 73 65 20 | 61 20 6c 69 6d 69 74 65 |xercise |a limite|
|00003650| 64 20 73 65 74 20 6f 66 | 20 66 65 61 74 75 72 65 |d set of| feature|
|00003660| 73 20 6f 66 20 61 20 67 | 69 76 65 6e 20 73 6f 66 |s of a g|iven sof|
|00003670| 74 77 61 72 65 20 70 72 | 6f 64 75 63 74 2e 20 49 |tware pr|oduct. I|
|00003680| 6e 20 74 68 65 20 63 6f | 6e 74 65 78 74 20 6f 66 |n the co|ntext of|
|00003690| 20 53 50 45 43 20 53 26 | 4c 2c 20 74 68 65 20 74 | SPEC S&|L, the t|
|000036a0| 65 72 6d 20 51 75 69 63 | 6b 6c 6f 6f 6b 20 72 65 |erm Quic|klook re|
|000036b0| 66 65 72 73 20 74 6f 20 | 61 20 73 63 72 69 70 74 |fers to |a script|
|000036c0| 20 74 68 61 74 20 74 65 | 73 74 73 20 61 20 6c 69 | that te|sts a li|
|000036d0| 6d 69 74 65 64 20 73 65 | 74 20 6f 66 20 66 65 61 |mited se|t of fea|
|000036e0| 74 75 72 65 73 20 6f 66 | 20 61 20 67 69 76 65 6e |tures of| a given|
|000036f0| 20 74 68 69 72 64 20 70 | 61 72 74 79 20 61 70 70 | third p|arty app|
|00003700| 6c 69 63 61 74 69 6f 6e | 2e 20 54 68 65 20 66 65 |lication|. The fe|
|00003710| 61 74 75 72 65 73 20 74 | 68 61 74 20 61 72 65 20 |atures t|hat are |
|00003720| 74 65 73 74 65 64 20 69 | 6e 20 61 20 51 75 69 63 |tested i|n a Quic|
|00003730| 6b 6c 6f 6f 6b 20 61 72 | 65 20 67 65 6e 65 72 61 |klook ar|e genera|
|00003740| 6c 6c 79 20 66 65 61 74 | 75 72 65 73 20 74 68 61 |lly feat|ures tha|
|00003750| 74 20 61 72 65 20 63 6f | 6d 6d 6f 6e 20 62 65 74 |t are co|mmon bet|
|00003760| 77 65 65 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ween app|lication|
|00003770| 73 2c 20 73 75 63 68 20 | 61 73 3a 20 73 61 76 69 |s, such |as: savi|
|00003780| 6e 67 2f 6f 70 65 6e 69 | 6e 67 20 66 69 6c 65 73 |ng/openi|ng files|
|00003790| 2c 20 72 65 73 69 7a 69 | 6e 67 20 61 6e 64 20 63 |, resizi|ng and c|
|000037a0| 6c 6f 73 69 6e 67 20 77 | 69 6e 64 6f 77 73 2c 20 |losing w|indows, |
|000037b0| 65 74 63 2e 20 46 6f 72 | 20 73 70 65 63 69 66 69 |etc. For| specifi|
|000037c0| 63 20 64 65 74 61 69 6c | 73 20 63 6f 6e 63 65 72 |c detail|s concer|
|000037d0| 6e 69 6e 67 20 74 68 65 | 20 66 65 61 74 75 72 65 |ning the| feature|
|000037e0| 73 20 65 78 65 72 63 69 | 73 65 64 20 77 69 74 68 |s exerci|sed with|
|000037f0| 69 6e 20 61 20 51 75 69 | 63 6b 6c 6f 6f 6b 20 70 |in a Qui|cklook p|
|00003800| 6c 65 61 73 65 20 72 65 | 66 65 72 20 74 6f 20 41 |lease re|fer to A|
|00003810| 70 70 65 6e 64 69 78 20 | 41 3a 20 51 75 69 63 6b |ppendix |A: Quick|
|00003820| 6c 6f 6f 6b 20 44 65 66 | 69 6e 69 74 69 6f 6e 2e |look Def|inition.|
|00003830| 20 49 6e 20 74 68 69 73 | 20 73 65 63 74 69 6f 6e | In this| section|
|00003840| 20 77 65 20 77 69 6c 6c | 20 62 65 20 64 69 73 63 | we will| be disc|
|00003850| 75 73 73 69 6e 67 20 74 | 68 65 20 76 61 72 69 6f |ussing t|he vario|
|00003860| 75 73 20 65 6c 65 6d 65 | 6e 74 73 20 74 68 61 74 |us eleme|nts that|
|00003870| 20 6d 61 6b 65 20 75 70 | 20 61 6e 20 61 70 70 6c | make up| an appl|
|00003880| 69 63 61 74 69 6f 6e 20 | 51 75 69 63 6b 6c 6f 6f |ication |Quickloo|
|00003890| 6b 20 73 63 72 69 70 74 | 20 69 6e 20 64 65 74 61 |k script| in deta|
|000038a0| 69 6c 2e 20 20 46 6f 72 | 20 69 6e 66 6f 72 6d 61 |il. For| informa|
|000038b0| 74 69 6f 6e 20 6f 6e 20 | 6c 6f 63 61 6c 69 7a 65 |tion on |localize|
|000038c0| 64 20 61 6e 64 20 6c 6f | 63 61 6c 69 7a 65 61 62 |d and lo|calizeab|
|000038d0| 6c 65 20 73 63 72 69 70 | 74 73 2c 20 70 6c 65 61 |le scrip|ts, plea|
|000038e0| 73 65 20 73 65 65 20 4c | 6f 63 61 6c 69 7a 61 74 |se see L|ocalizat|
|000038f0| 69 6f 6e 20 47 75 69 64 | 65 20 74 6f 20 53 50 45 |ion Guid|e to SPE|
|00003900| 43 20 53 26 4c 2e 0d 54 | 68 65 20 45 6c 65 6d 65 |C S&L..T|he Eleme|
|00003910| 6e 74 73 20 54 68 61 74 | 20 4d 61 6b 65 20 55 70 |nts That| Make Up|
|00003920| 20 41 20 51 75 69 63 6b | 6c 6f 6f 6b 0d 54 68 69 | A Quick|look.Thi|
|00003930| 73 20 73 65 63 74 69 6f | 6e 20 64 65 73 63 72 69 |s sectio|n descri|
|00003940| 62 65 73 20 67 75 69 64 | 65 6c 69 6e 65 73 20 63 |bes guid|elines c|
|00003950| 6f 6e 63 65 72 6e 69 6e | 67 20 76 61 72 69 6f 75 |oncernin|g variou|
|00003960| 73 20 65 6c 65 6d 65 6e | 74 73 20 77 69 74 68 69 |s elemen|ts withi|
|00003970| 6e 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 53 |n the st|andard S|
|00003980| 50 45 43 20 53 26 4c 20 | 51 75 69 63 6b 6c 6f 6f |PEC S&L |Quickloo|
|00003990| 6b 20 73 63 72 69 70 74 | 2e 20 20 50 6c 65 61 73 |k script|. Pleas|
|000039a0| 65 20 72 65 66 65 72 20 | 74 6f 20 41 70 70 65 6e |e refer |to Appen|
|000039b0| 64 69 78 20 41 3a 20 53 | 74 61 6e 64 61 72 64 20 |dix A: S|tandard |
|000039c0| 51 75 69 63 6b 6c 6f 6f | 6b 20 44 65 66 69 6e 69 |Quickloo|k Defini|
|000039d0| 74 69 6f 6e 20 20 66 6f | 72 20 69 6e 66 6f 72 6d |tion fo|r inform|
|000039e0| 61 74 69 6f 6e 20 63 6f | 6e 63 65 72 6e 69 6e 67 |ation co|ncerning|
|000039f0| 20 74 68 65 20 66 65 61 | 74 75 72 65 73 20 74 65 | the fea|tures te|
|00003a00| 73 74 65 64 20 69 6e 20 | 61 20 51 75 69 63 6b 6c |sted in |a Quickl|
|00003a10| 6f 6f 6b 20 61 6e 64 20 | 41 70 70 65 6e 64 69 78 |ook and |Appendix|
|00003a20| 20 42 3a 20 53 61 6d 70 | 6c 65 20 51 75 69 63 6b | B: Samp|le Quick|
|00003a30| 6c 6f 6f 6b 20 66 6f 72 | 20 73 70 65 63 69 66 69 |look for| specifi|
|00003a40| 63 20 65 78 61 6d 70 6c | 65 73 20 63 6f 6e 63 65 |c exampl|es conce|
|00003a50| 72 6e 69 6e 67 20 51 75 | 69 63 6b 6c 6f 6f 6b 20 |rning Qu|icklook |
|00003a60| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 2e 0d |implemen|tation..|
|00003a70| 09 0d 54 68 65 72 65 20 | 61 72 65 20 66 69 76 65 |..There |are five|
|00003a80| 20 62 61 73 69 63 20 65 | 6c 65 6d 65 6e 74 73 20 | basic e|lements |
|00003a90| 74 68 61 74 20 6d 61 6b | 65 20 75 70 20 61 20 73 |that mak|e up a s|
|00003aa0| 74 61 6e 64 61 72 64 20 | 53 50 45 43 20 53 26 4c |tandard |SPEC S&L|
|00003ab0| 20 73 63 72 69 70 74 2e | 20 0d 31 29 20 44 65 73 | script.| .1) Des|
|00003ac0| 63 72 69 70 74 69 76 65 | 20 48 65 61 64 65 72 0d |criptive| Header.|
|00003ad0| 32 29 20 4c 69 62 72 61 | 72 79 20 44 65 63 6c 61 |2) Libra|ry Decla|
|00003ae0| 72 61 74 69 6f 6e 73 0d | 33 29 20 41 70 70 6c 69 |rations.|3) Appli|
|00003af0| 63 61 74 69 6f 6e 20 53 | 70 65 63 69 66 69 63 20 |cation S|pecific |
|00003b00| 54 61 73 6b 20 44 65 66 | 69 6e 69 74 69 6f 6e 73 |Task Def|initions|
|00003b10| 0d 34 29 20 53 63 72 69 | 70 74 20 44 65 63 6c 61 |.4) Scri|pt Decla|
|00003b20| 72 61 74 69 6f 6e 0d 35 | 29 20 42 6f 64 79 20 4f |ration.5|) Body O|
|00003b30| 66 20 54 68 65 20 53 63 | 72 69 70 74 0d 20 49 6e |f The Sc|ript. In|
|00003b40| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 73 | the fol|lowing s|
|00003b50| 65 63 74 69 6f 6e 2c 20 | 77 65 20 65 78 61 6d 69 |ection, |we exami|
|00003b60| 6e 65 20 65 61 63 68 20 | 6f 66 20 74 68 65 73 65 |ne each |of these|
|00003b70| 20 65 6c 65 6d 65 6e 74 | 73 20 69 6e 20 64 65 74 | element|s in det|
|00003b80| 61 69 6c 2e 0d 44 65 73 | 63 72 69 70 74 69 76 65 |ail..Des|criptive|
|00003b90| 20 48 65 61 64 65 72 0d | 54 68 65 20 64 65 73 63 | Header.|The desc|
|00003ba0| 72 69 70 74 69 76 65 20 | 68 65 61 64 65 72 20 69 |riptive |header i|
|00003bb0| 73 20 75 73 65 64 20 74 | 6f 20 70 72 6f 76 69 64 |s used t|o provid|
|00003bc0| 65 20 62 61 73 69 63 20 | 69 6e 66 6f 72 6d 61 74 |e basic |informat|
|00003bd0| 69 6f 6e 20 61 6e 64 20 | 61 20 63 68 61 6e 67 65 |ion and |a change|
|00003be0| 20 68 69 73 74 6f 72 79 | 20 66 6f 72 20 74 68 65 | history| for the|
|00003bf0| 20 73 63 72 69 70 74 2e | 20 42 65 6c 6f 77 20 69 | script.| Below i|
|00003c00| 73 20 61 20 73 61 6d 70 | 6c 65 20 73 63 72 69 70 |s a samp|le scrip|
|00003c10| 74 20 68 65 61 64 65 72 | 2c 20 20 74 68 65 20 69 |t header|, the i|
|00003c20| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 63 6f 6e 74 61 |nformati|on conta|
|00003c30| 69 6e 65 64 20 77 69 74 | 68 69 6e 20 69 74 20 73 |ined wit|hin it s|
|00003c40| 68 6f 75 6c 64 20 62 65 | 20 73 65 6c 66 2d 65 78 |hould be| self-ex|
|00003c50| 70 6c 61 6e 61 74 6f 72 | 79 2e 0d 23 0d 23 20 2a |planator|y..#.# *|
|00003c60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003c70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003c80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003c90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003ca0| 0d 23 0d 23 09 46 69 6c | 65 20 4e 61 6d 65 3a 09 |.#.#.Fil|e Name:.|
|00003cb0| 41 70 70 53 63 72 69 70 | 74 2e 76 75 0d 23 0d 23 |AppScrip|t.vu.#.#|
|00003cc0| 09 43 6f 6e 74 61 69 6e | 73 3a 09 51 75 69 63 6b |.Contain|s:.Quick|
|00003cd0| 6c 6f 6f 6b 20 74 65 73 | 74 20 73 63 72 69 70 74 |look tes|t script|
|00003ce0| 20 66 6f 72 20 6d 79 41 | 70 70 6c 69 63 61 74 69 | for myA|pplicati|
|00003cf0| 6f 6e 20 76 2e 20 32 2e | 30 0d 23 0d 23 09 57 72 |on v. 2.|0.#.#.Wr|
|00003d00| 69 74 74 65 6e 20 62 79 | 3a 09 4a 6f 65 20 42 6f |itten by|:.Joe Bo|
|00003d10| 62 20 53 63 72 69 70 74 | 65 72 0d 23 0d 23 09 43 |b Script|er.#.#.C|
|00003d20| 6f 70 79 72 69 67 68 74 | 3a 09 a9 20 31 39 39 33 |opyright|:.. 1993|
|00003d30| 20 62 79 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 | by Appl|e Comput|
|00003d40| 65 72 2c 20 49 6e 63 2e | 2c 20 61 6c 6c 20 72 69 |er, Inc.|, all ri|
|00003d50| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 0d 23 |ghts res|erved..#|
|00003d60| 0d 23 20 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.# *****|********|
|00003d70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003d80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003d90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003da0| 2a 2a 2a 2a 2a 2a 2a 0d | 23 09 09 09 43 20 68 20 |*******.|#...C h |
|00003db0| 61 20 6e 20 67 20 65 09 | 09 48 20 69 20 73 20 74 |a n g e.|.H i s t|
|00003dc0| 20 6f 20 72 20 79 20 28 | 6d 6f 73 74 20 72 65 63 | o r y (|most rec|
|00003dd0| 65 6e 74 20 66 69 72 73 | 74 29 3a 0d 23 20 2a 2a |ent firs|t):.# **|
|00003de0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003df0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003e00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003e10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003e20| 2a 2a 0d 23 0d 23 09 09 | 56 65 72 73 09 20 20 44 |**.#.#..|Vers. D|
|00003e30| 61 74 65 09 41 75 74 68 | 6f 72 09 09 44 65 73 63 |ate.Auth|or..Desc|
|00003e40| 72 69 70 74 69 6f 6e 0d | 23 09 09 2d 2d 2d 2d 09 |ription.|#..----.|
|00003e50| 2d 2d 2d 2d 2d 2d 2d 2d | 09 2d 2d 2d 2d 2d 2d 09 |--------|.------.|
|00003e60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003e70| 2d 2d 2d 2d 2d 2d 0d 23 | 09 09 3c 31 2b 3e 09 20 |------.#|..<1+>. |
|00003e80| 35 2f 32 35 2f 39 33 09 | 46 72 61 6e 6b 20 4c 65 |5/25/93.|Frank Le|
|00003e90| 65 09 41 64 64 69 6e 67 | 20 68 65 61 64 65 72 20 |e.Adding| header |
|00003ea0| 0d 23 0d 23 20 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.#.# ***|********|
|00003eb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003ec0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003ed0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003ee0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0d 23 0d 4c 69 62 72 |********|*.#.Libr|
|00003ef0| 61 72 79 20 44 65 63 6c | 61 72 61 74 69 6f 6e 73 |ary Decl|arations|
|00003f00| 0d 4c 69 62 72 61 72 79 | 20 64 65 63 6c 61 72 61 |.Library| declara|
|00003f10| 74 69 6f 6e 73 20 61 72 | 65 20 6e 65 63 65 73 73 |tions ar|e necess|
|00003f20| 61 72 79 20 77 68 65 6e | 65 76 65 72 20 61 20 73 |ary when|ever a s|
|00003f30| 63 72 69 70 74 20 6d 61 | 6b 65 73 20 61 20 63 61 |cript ma|kes a ca|
|00003f40| 6c 6c 20 74 6f 20 61 20 | 74 61 73 6b 20 74 68 61 |ll to a |task tha|
|00003f50| 74 20 69 73 20 63 6f 6e | 74 61 69 6e 65 64 20 77 |t is con|tained w|
|00003f60| 69 74 68 69 6e 20 61 20 | 6c 69 62 72 61 72 79 2e |ithin a |library.|
|00003f70| 20 46 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | For mor|e inform|
|00003f80| 61 74 69 6f 6e 20 63 6f | 6e 63 65 72 6e 69 6e 67 |ation co|ncerning|
|00003f90| 20 74 61 73 6b 73 20 74 | 68 61 74 20 61 72 65 20 | tasks t|hat are |
|00003fa0| 63 6f 6e 74 61 69 6e 65 | 64 20 77 69 74 68 69 6e |containe|d within|
|00003fb0| 20 65 61 63 68 20 73 70 | 65 63 69 66 69 63 20 6c | each sp|ecific l|
|00003fc0| 69 62 72 61 72 79 20 70 | 6c 65 61 73 65 20 72 65 |ibrary p|lease re|
|00003fd0| 66 65 72 20 74 6f 20 41 | 70 70 65 6e 64 69 78 20 |fer to A|ppendix |
|00003fe0| 45 3a 20 54 61 73 6b 73 | 20 77 69 74 68 69 6e 20 |E: Tasks| within |
|00003ff0| 4c 69 62 72 61 72 69 65 | 73 2e 20 54 68 65 20 66 |Librarie|s. The f|
|00004000| 6f 6c 6c 6f 77 69 6e 67 | 20 65 78 61 6d 70 6c 65 |ollowing| example|
|00004010| 20 73 68 6f 77 73 20 61 | 20 73 61 6d 70 6c 65 20 | shows a| sample |
|00004020| 6c 69 62 72 61 72 79 20 | 64 65 63 6c 61 72 61 74 |library |declarat|
|00004030| 69 6f 6e 2e 20 4e 6f 74 | 65 3a 20 54 68 65 20 66 |ion. Not|e: The f|
|00004040| 6f 6c 6c 6f 77 69 6e 67 | 20 73 61 6d 70 6c 65 20 |ollowing| sample |
|00004050| 6c 69 62 72 61 72 79 20 | 64 65 63 6c 61 72 61 74 |library |declarat|
|00004060| 69 6f 6e 20 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 |ion cont|ains the|
|00004070| 20 6d 69 6e 69 6d 75 6d | 20 6c 69 62 72 61 72 69 | minimum| librari|
|00004080| 65 73 20 74 68 61 74 20 | 61 72 65 20 6e 65 63 65 |es that |are nece|
|00004090| 73 73 61 72 79 20 66 6f | 72 20 64 65 76 65 6c 6f |ssary fo|r develo|
|000040a0| 70 69 6e 67 20 61 20 51 | 75 69 63 6b 6c 6f 6f 6b |ping a Q|uicklook|
|000040b0| 20 66 6f 72 20 61 20 55 | 2e 53 2e 20 61 70 70 6c | for a U|.S. appl|
|000040c0| 69 63 61 74 69 6f 6e 20 | 72 75 6e 6e 69 6e 67 20 |ication |running |
|000040d0| 6f 6e 20 55 2e 53 2e 20 | 73 79 73 74 65 6d 20 73 |on U.S. |system s|
|000040e0| 6f 66 74 77 61 72 65 2e | 0d 23 23 23 23 23 23 23 |oftware.|.#######|
|000040f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004100| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004110| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004120| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 0d 23 09 |########|#####.#.|
|00004130| 09 09 09 09 45 78 74 65 | 72 6e 61 6c 20 6c 69 62 |....Exte|rnal lib|
|00004140| 72 61 72 69 65 73 20 0d | 23 3d 3d 3d 3d 3d 3d 3d |raries .|#=======|
|00004150| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004160| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004170| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004180| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0d 4c 69 62 |========|====.Lib|
|00004190| 72 61 72 69 65 73 20 22 | 4f 75 74 70 75 74 2e 4c |raries "|Output.L|
|000041a0| 69 62 22 2c 20 22 44 6f | 54 61 73 6b 73 2e 4c 69 |ib", "Do|Tasks.Li|
|000041b0| 62 22 2c 22 44 72 61 77 | 2e 4c 69 62 22 2c 20 22 |b","Draw|.Lib", "|
|000041c0| 46 6f 6e 74 2e 4c 69 62 | 22 2c 20 22 47 6c 6f 62 |Font.Lib|", "Glob|
|000041d0| 61 6c 73 2e 4c 69 62 22 | 2c 20 22 4c 61 75 6e 63 |als.Lib"|, "Launc|
|000041e0| 68 51 75 69 74 2e 4c 69 | 62 22 2c 20 22 54 43 53 |hQuit.Li|b", "TCS|
|000041f0| 2e 4c 69 62 22 3b 0d 41 | 70 70 6c 69 63 61 74 69 |.Lib";.A|pplicati|
|00004200| 6f 6e 20 53 70 65 63 69 | 66 69 63 20 54 61 73 6b |on Speci|fic Task|
|00004210| 73 0d 54 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |s.The ap|plicatio|
|00004220| 6e 20 73 70 65 63 69 66 | 69 63 20 74 61 73 6b 73 |n specif|ic tasks|
|00004230| 20 73 65 63 74 69 6f 6e | 20 6f 66 20 61 20 73 63 | section| of a sc|
|00004240| 72 69 70 74 20 70 72 6f | 76 69 64 65 73 20 74 68 |ript pro|vides th|
|00004250| 65 20 73 63 72 69 70 74 | 20 77 72 69 74 65 72 20 |e script| writer |
|00004260| 77 69 74 68 20 74 68 65 | 20 6d 6f 73 74 20 66 6c |with the| most fl|
|00004270| 65 78 69 62 69 6c 69 74 | 79 2e 20 54 68 69 73 20 |exibilit|y. This |
|00004280| 73 65 63 74 69 6f 6e 20 | 69 73 20 77 68 65 72 65 |section |is where|
|00004290| 20 74 68 65 20 73 63 72 | 69 70 74 20 77 72 69 74 | the scr|ipt writ|
|000042a0| 65 72 20 20 73 68 6f 75 | 6c 64 20 64 65 66 69 6e |er shou|ld defin|
|000042b0| 65 20 61 6e 79 20 61 70 | 70 6c 69 63 61 74 69 6f |e any ap|plicatio|
|000042c0| 6e 20 73 70 65 63 69 66 | 69 63 20 64 61 74 61 20 |n specif|ic data |
|000042d0| 73 74 72 75 63 74 75 72 | 65 73 2c 20 74 61 73 6b |structur|es, task|
|000042e0| 73 20 75 73 65 64 20 66 | 6f 72 20 74 61 73 6b 20 |s used f|or task |
|000042f0| 6f 76 65 72 72 69 64 65 | 73 2c 20 61 73 20 77 65 |override|s, as we|
|00004300| 6c 6c 20 61 73 20 61 6e | 79 20 61 64 64 69 74 69 |ll as an|y additi|
|00004310| 6f 6e 61 6c 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |onal app|lication|
|00004320| 20 73 70 65 63 69 66 69 | 63 20 74 61 73 6b 73 2e | specifi|c tasks.|
|00004330| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 73 20 6f 6e | For exa|mples on|
|00004340| 20 77 68 61 74 20 69 73 | 20 65 78 70 65 63 74 65 | what is| expecte|
|00004350| 64 20 69 6e 20 74 68 65 | 20 61 70 70 6c 69 63 61 |d in the| applica|
|00004360| 74 69 6f 6e 20 73 70 65 | 63 69 66 69 63 20 74 61 |tion spe|cific ta|
|00004370| 73 6b 73 20 73 65 63 74 | 69 6f 6e 20 70 6c 65 61 |sks sect|ion plea|
|00004380| 73 65 20 72 65 66 65 72 | 20 74 6f 20 65 69 74 68 |se refer| to eith|
|00004390| 65 72 20 41 70 70 65 6e | 64 69 78 20 42 3a 20 53 |er Appen|dix B: S|
|000043a0| 61 6d 70 6c 65 20 51 75 | 69 63 6b 6c 6f 6f 6b 20 |ample Qu|icklook |
|000043b0| 6f 72 20 61 6e 79 20 6f | 66 20 74 68 65 20 53 50 |or any o|f the SP|
|000043c0| 45 43 20 53 26 4c 20 73 | 63 72 69 70 74 73 2e 0d |EC S&L s|cripts..|
|000043d0| 53 63 72 69 70 74 20 44 | 65 63 6c 61 72 61 74 69 |Script D|eclarati|
|000043e0| 6f 6e 0d 54 68 65 20 73 | 63 72 69 70 74 20 64 65 |on.The s|cript de|
|000043f0| 63 6c 61 72 61 74 69 6f | 6e 20 69 6e 64 69 63 61 |claratio|n indica|
|00004400| 74 65 73 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e |tes the |beginnin|
|00004410| 67 20 6f 66 20 74 68 65 | 20 62 6f 64 79 20 6f 66 |g of the| body of|
|00004420| 20 74 68 65 20 73 63 72 | 69 70 74 2e 20 49 74 20 | the scr|ipt. It |
|00004430| 62 65 67 69 6e 73 20 77 | 69 74 68 20 74 68 65 20 |begins w|ith the |
|00004440| 77 6f 72 64 20 d2 53 63 | 72 69 70 74 d3 20 66 6f |word .Sc|ript. fo|
|00004450| 6c 6c 6f 77 65 64 20 62 | 79 20 74 68 65 20 73 63 |llowed b|y the sc|
|00004460| 72 69 70 74 27 73 20 74 | 69 74 6c 65 2c 20 77 68 |ript's t|itle, wh|
|00004470| 69 63 68 20 69 6e 20 74 | 65 72 6d 73 20 69 73 20 |ich in t|erms is |
|00004480| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 74 68 65 20 |followed| by the |
|00004490| 73 63 72 69 70 74 20 70 | 61 72 61 6d 65 74 65 72 |script p|arameter|
|000044a0| 28 73 29 2e 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |(s). For| example|
|000044b0| 3a 0d 23 20 53 63 72 69 | 70 74 20 44 65 66 69 6e |:.# Scri|pt Defin|
|000044c0| 69 74 69 6f 6e 0d 53 63 | 72 69 70 74 20 53 61 6d |ition.Sc|ript Sam|
|000044d0| 70 6c 65 20 28 50 61 72 | 61 6d 31 2c 20 50 61 72 |ple (Par|am1, Par|
|000044e0| 61 6d 32 2e 2e 2e 29 0d | 53 63 72 69 70 74 73 20 |am2...).|Scripts |
|000044f0| 77 72 69 74 74 65 6e 20 | 66 6f 72 20 53 50 45 43 |written |for SPEC|
|00004500| 20 6c 69 62 72 61 72 69 | 65 73 20 74 61 6b 65 20 | librari|es take |
|00004510| 61 64 76 61 6e 74 61 67 | 65 20 6f 66 20 74 68 65 |advantag|e of the|
|00004520| 20 73 63 72 69 70 74 20 | 70 61 72 61 6d 65 74 65 | script |paramete|
|00004530| 72 20 66 65 61 74 75 72 | 65 20 69 6e 20 56 2e 55 |r featur|e in V.U|
|00004540| 2e 20 74 6f 20 63 6f 6e | 74 72 6f 6c 20 74 68 65 |. to con|trol the|
|00004550| 20 64 65 70 74 68 20 6f | 66 20 74 65 73 74 69 6e | depth o|f testin|
|00004560| 67 20 74 6f 20 70 65 72 | 66 6f 72 6d 2e 20 55 74 |g to per|form. Ut|
|00004570| 69 6c 69 7a 69 6e 67 20 | 74 68 69 73 20 74 65 63 |ilizing |this tec|
|00004580| 68 6e 69 71 75 65 2c 20 | 74 68 65 20 73 63 72 69 |hnique, |the scri|
|00004590| 70 74 20 77 72 69 74 65 | 72 20 63 61 6e 20 70 72 |pt write|r can pr|
|000045a0| 6f 76 69 64 65 20 66 6c | 65 78 69 62 69 6c 69 74 |ovide fl|exibilit|
|000045b0| 79 20 74 6f 20 70 65 72 | 66 6f 72 6d 20 64 69 66 |y to per|form dif|
|000045c0| 66 65 72 65 6e 74 20 63 | 6f 6d 70 6c 65 78 69 74 |ferent c|omplexit|
|000045d0| 79 20 6f 66 20 74 65 73 | 74 73 20 62 79 20 6c 65 |y of tes|ts by le|
|000045e0| 74 74 69 6e 67 20 74 68 | 65 20 70 65 72 73 6f 6e |tting th|e person|
|000045f0| 20 65 78 65 63 75 74 69 | 6e 67 20 74 68 65 20 73 | executi|ng the s|
|00004600| 63 72 69 70 74 20 63 68 | 61 6e 67 65 20 74 68 65 |cript ch|ange the|
|00004610| 20 73 63 72 69 70 74 20 | 70 61 72 61 6d 65 74 65 | script |paramete|
|00004620| 72 73 20 61 74 20 72 75 | 6e 20 74 69 6d 65 2e 20 |rs at ru|n time. |
|00004630| 54 68 65 72 65 20 61 72 | 65 20 74 77 6f 20 77 61 |There ar|e two wa|
|00004640| 79 73 20 74 6f 20 63 68 | 61 6e 67 65 20 74 68 65 |ys to ch|ange the|
|00004650| 20 73 63 72 69 70 74 20 | 70 61 72 61 6d 65 74 65 | script |paramete|
|00004660| 72 73 2c 20 75 73 69 6e | 67 20 56 69 72 74 75 61 |rs, usin|g Virtua|
|00004670| 6c 20 55 73 65 72 27 73 | 20 53 65 74 75 70 20 6d |l User's| Setup m|
|00004680| 65 6e 75 20 6f 72 20 75 | 73 69 6e 67 20 61 20 63 |enu or u|sing a c|
|00004690| 6f 6e 74 72 6f 6c 6c 65 | 72 20 73 63 72 69 70 74 |ontrolle|r script|
|000046a0| 20 74 6f 20 72 65 64 65 | 66 69 6e 65 20 74 68 65 | to rede|fine the|
|000046b0| 20 70 61 72 61 6d 65 74 | 65 72 2e 20 0d 54 68 65 | paramet|er. .The|
|000046c0| 20 63 6f 6e 76 65 6e 74 | 69 6f 6e 20 75 73 65 64 | convent|ion used|
|000046d0| 20 66 6f 72 20 55 2e 53 | 2e 2d 4f 6e 6c 79 20 53 | for U.S|.-Only S|
|000046e0| 50 45 43 20 53 26 4c 20 | 63 6f 6d 70 6c 69 61 6e |PEC S&L |complian|
|000046f0| 74 20 73 63 72 69 70 74 | 73 20 69 73 20 6f 6e 65 |t script|s is one|
|00004700| 20 73 63 72 69 70 74 20 | 70 61 72 61 6d 65 74 65 | script |paramete|
|00004710| 72 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 3a 0d |r. For e|xample:.|
|00004720| 73 63 72 69 70 74 20 4d | 61 63 44 72 61 77 50 72 |script M|acDrawPr|
|00004730| 6f 20 28 53 63 72 69 70 | 74 4c 65 76 65 6c 20 3a |o (Scrip|tLevel :|
|00004740| 3d 20 2d 31 29 0d 46 6f | 72 20 6d 6f 72 65 20 69 |= -1).Fo|r more i|
|00004750| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 73 65 65 20 43 |nformati|on see C|
|00004760| 6f 6e 74 72 6f 6c 6c 69 | 6e 67 20 74 68 65 20 54 |ontrolli|ng the T|
|00004770| 65 73 74 20 4c 65 76 65 | 6c 20 73 65 63 74 69 6f |est Leve|l sectio|
|00004780| 6e 20 69 6e 20 41 70 70 | 65 6e 64 69 78 20 47 2e |n in App|endix G.|
|00004790| 0d 42 6f 64 79 20 4f 66 | 20 41 20 53 63 72 69 70 |.Body Of| A Scrip|
|000047a0| 74 0d 54 68 65 20 62 6f | 64 79 20 6f 66 20 74 68 |t.The bo|dy of th|
|000047b0| 65 20 73 63 72 69 70 74 | 20 69 73 20 77 68 65 72 |e script| is wher|
|000047c0| 65 20 63 61 6c 6c 73 20 | 74 6f 20 69 6e 64 69 76 |e calls |to indiv|
|000047d0| 69 64 75 61 6c 20 74 61 | 73 6b 73 20 61 72 65 20 |idual ta|sks are |
|000047e0| 6d 61 64 65 2e 20 54 68 | 65 20 62 6f 64 79 20 6f |made. Th|e body o|
|000047f0| 66 20 74 68 65 20 53 50 | 45 43 20 53 26 4c 20 73 |f the SP|EC S&L s|
|00004800| 63 72 69 70 74 73 20 62 | 65 67 69 6e 73 20 77 69 |cripts b|egins wi|
|00004810| 74 68 20 67 6c 6f 62 61 | 6c 20 64 65 66 69 6e 69 |th globa|l defini|
|00004820| 74 69 6f 6e 73 20 61 6e | 64 20 69 6e 69 74 69 61 |tions an|d initia|
|00004830| 6c 69 7a 61 74 69 6f 6e | 2c 20 66 6f 6c 6c 6f 77 |lization|, follow|
|00004840| 65 64 20 62 79 20 74 68 | 65 20 73 74 65 70 73 20 |ed by th|e steps |
|00004850| 74 6f 20 6c 61 75 6e 63 | 68 20 74 68 65 20 61 70 |to launc|h the ap|
|00004860| 70 6c 69 63 61 74 69 6f | 6e 20 74 6f 20 62 65 20 |plicatio|n to be |
|00004870| 74 65 73 74 65 64 2e 20 | 0d 57 69 74 68 69 6e 20 |tested. |.Within |
|00004880| 74 68 65 20 62 6f 64 79 | 20 6f 66 20 65 61 63 68 |the body| of each|
|00004890| 20 51 75 69 63 6b 6c 6f | 6f 6b 20 73 63 72 69 70 | Quicklo|ok scrip|
|000048a0| 74 20 74 68 65 72 65 20 | 61 72 65 20 66 69 76 65 |t there |are five|
|000048b0| 20 62 61 73 69 63 20 61 | 72 65 61 73 20 6f 66 20 | basic a|reas of |
|000048c0| 66 75 6e 63 74 69 6f 6e | 61 6c 69 74 79 20 74 68 |function|ality th|
|000048d0| 61 74 20 61 72 65 20 6e | 6f 72 6d 61 6c 6c 79 20 |at are n|ormally |
|000048e0| 70 72 65 73 65 6e 74 2e | 0d 31 29 20 41 70 70 6c |present.|.1) Appl|
|000048f0| 69 63 61 74 69 6f 6e 20 | 73 65 74 75 70 20 2d 20 |ication |setup - |
|00004900| 44 6f 53 65 74 55 70 41 | 70 70 28 29 20 0d 32 29 |DoSetUpA|pp() .2)|
|00004910| 20 45 78 65 72 63 69 73 | 65 20 64 72 61 77 69 6e | Exercis|e drawin|
|00004920| 67 20 74 6f 6f 6c 73 20 | 2d 20 44 6f 44 72 61 77 |g tools |- DoDraw|
|00004930| 28 29 20 0d 33 29 20 45 | 78 65 72 63 69 73 65 20 |() .3) E|xercise |
|00004940| 74 65 78 74 20 65 6e 74 | 72 79 20 62 79 20 63 68 |text ent|ry by ch|
|00004950| 61 6e 67 69 6e 67 20 66 | 6f 6e 74 73 2c 20 73 69 |anging f|onts, si|
|00004960| 7a 65 73 20 61 6e 64 20 | 73 74 79 6c 65 73 20 2d |zes and |styles -|
|00004970| 20 44 6f 54 65 78 74 28 | 29 20 0d 34 29 20 45 78 | DoText(|) .4) Ex|
|00004980| 65 72 63 69 73 65 20 77 | 69 6e 64 6f 77 73 20 2d |ercise w|indows -|
|00004990| 20 44 6f 57 69 6e 64 6f | 77 28 29 20 0d 09 35 29 | DoWindo|w() ..5)|
|000049a0| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 63 6f 6d | Applica|tion com|
|000049b0| 70 6c 65 74 69 6f 6e 20 | 72 6f 75 74 69 6e 65 73 |pletion |routines|
|000049c0| 20 2d 20 44 6f 43 6c 6f | 73 65 41 70 70 28 29 20 | - DoClo|seApp() |
|000049d0| 0d 31 29 20 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |.1) Appl|ication |
|000049e0| 53 65 74 75 70 0d 54 68 | 65 20 73 74 61 6e 64 61 |Setup.Th|e standa|
|000049f0| 72 64 20 53 50 45 43 20 | 53 26 4c 20 51 75 69 63 |rd SPEC |S&L Quic|
|00004a00| 6b 6c 6f 6f 6b 20 64 65 | 66 69 6e 69 74 69 6f 6e |klook de|finition|
|00004a10| 20 72 65 71 75 69 72 65 | 73 20 74 68 61 74 20 63 | require|s that c|
|00004a20| 65 72 74 61 69 6e 20 73 | 70 65 63 69 66 69 63 20 |ertain s|pecific |
|00004a30| 74 65 73 74 20 63 61 73 | 65 73 20 61 72 65 20 65 |test cas|es are e|
|00004a40| 78 65 63 75 74 65 64 2e | 20 4d 61 6e 79 20 61 70 |xecuted.| Many ap|
|00004a50| 70 6c 69 63 61 74 69 6f | 6e 73 20 68 61 6e 64 6c |plicatio|ns handl|
|00004a60| 65 20 74 68 65 73 65 20 | 74 65 73 74 20 63 61 73 |e these |test cas|
|00004a70| 65 73 20 69 6e 20 64 69 | 66 66 65 72 65 6e 74 20 |es in di|fferent |
|00004a80| 77 61 79 73 2c 20 61 6e | 64 20 73 6f 6d 65 20 64 |ways, an|d some d|
|00004a90| 6f 20 6e 6f 74 20 73 75 | 70 70 6f 72 74 20 74 68 |o not su|pport th|
|00004aa0| 65 6d 20 61 74 20 61 6c | 6c 2e 20 54 68 65 72 65 |em at al|l. There|
|00004ab0| 20 61 72 65 20 61 20 63 | 6f 75 70 6c 65 20 6f 66 | are a c|ouple of|
|00004ac0| 20 68 69 67 68 20 6c 65 | 76 65 6c 20 6d 69 73 63 | high le|vel misc|
|00004ad0| 65 6c 6c 61 6e 65 6f 75 | 73 20 74 61 73 6b 73 20 |ellaneou|s tasks |
|00004ae0| 74 68 61 74 20 77 65 72 | 65 20 64 65 76 65 6c 6f |that wer|e develo|
|00004af0| 70 65 64 20 74 6f 20 68 | 61 6e 64 6c 65 20 61 20 |ped to h|andle a |
|00004b00| 76 61 72 69 65 74 79 20 | 6f 66 20 61 70 70 6c 69 |variety |of appli|
|00004b10| 63 61 74 69 6f 6e 20 69 | 64 69 6f 73 79 6e 63 72 |cation i|diosyncr|
|00004b20| 61 73 69 65 73 2e 20 46 | 6f 72 20 65 78 61 6d 70 |asies. F|or examp|
|00004b30| 6c 65 2c 20 73 6f 6d 65 | 20 61 70 70 6c 69 63 61 |le, some| applica|
|00004b40| 74 69 6f 6e 73 20 64 69 | 73 70 6c 61 79 20 61 20 |tions di|splay a |
|00004b50| 64 65 66 61 75 6c 74 20 | 64 6f 63 75 6d 65 6e 74 |default |document|
|00004b60| 20 77 69 6e 64 6f 77 20 | 61 75 74 6f 6d 61 74 69 | window |automati|
|00004b70| 63 61 6c 6c 79 20 77 68 | 65 6e 20 6c 61 75 6e 63 |cally wh|en launc|
|00004b80| 68 65 64 2c 20 6f 74 68 | 65 72 73 20 64 6f 20 6e |hed, oth|ers do n|
|00004b90| 6f 74 2e 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ot. The |followin|
|00004ba0| 67 20 69 73 20 61 6e 20 | 65 78 61 6d 70 6c 65 20 |g is an |example |
|00004bb0| 6f 66 20 74 68 65 20 63 | 6f 6e 76 65 6e 74 69 6f |of the c|onventio|
|00004bc0| 6e 20 75 73 65 64 20 74 | 6f 20 64 65 73 63 72 69 |n used t|o descri|
|00004bd0| 62 65 20 74 61 73 6b 20 | 64 65 66 69 6e 69 74 69 |be task |definiti|
|00004be0| 6f 6e 73 2e 20 46 6f 72 | 20 6d 6f 72 65 20 64 65 |ons. For| more de|
|00004bf0| 74 61 69 6c 73 2c 20 73 | 65 65 20 74 68 65 20 68 |tails, s|ee the h|
|00004c00| 65 61 64 69 6e 67 20 d2 | 43 6f 6e 76 65 6e 74 69 |eading .|Conventi|
|00004c10| 6f 6e 73 20 55 73 65 64 | 20 66 6f 72 20 54 61 73 |ons Used| for Tas|
|00004c20| 6b 73 20 44 65 66 69 6e | 69 74 69 6f 6e 73 d3 20 |ks Defin|itions. |
|00004c30| 75 6e 64 65 72 20 74 68 | 65 20 4c 69 62 72 61 72 |under th|e Librar|
|00004c40| 79 20 4f 76 65 72 76 69 | 65 77 20 73 65 63 74 69 |y Overvi|ew secti|
|00004c50| 6f 6e 2e 0d 44 6f 53 65 | 74 55 70 41 70 70 28 20 |on..DoSe|tUpApp( |
|00004c60| 70 44 69 73 6d 69 73 73 | 4f 70 65 6e 69 6e 67 44 |pDismiss|OpeningD|
|00004c70| 69 61 6c 6f 67 2c 20 70 | 44 65 66 61 75 6c 74 57 |ialog, p|DefaultW|
|00004c80| 69 6e 64 6f 77 53 70 65 | 63 2c 20 70 4e 65 77 44 |indowSpe|c, pNewD|
|00004c90| 6f 63 50 61 74 68 2c 20 | 09 70 44 69 73 6d 69 73 |ocPath, |.pDismis|
|00004ca0| 73 4e 65 77 44 6f 63 44 | 69 61 6c 6f 67 2c 70 53 |sNewDocD|ialog,pS|
|00004cb0| 63 72 61 70 54 65 78 74 | 2c 20 70 53 63 72 61 70 |crapText|, pScrap|
|00004cc0| 50 69 63 74 2c 20 70 53 | 61 76 65 44 6f 63 2c 20 |Pict, pS|aveDoc, |
|00004cd0| 70 4f 70 65 6e 44 6f 63 | 29 0d 44 6f 53 65 74 55 |pOpenDoc|).DoSetU|
|00004ce0| 70 41 70 70 28 29 20 69 | 73 20 61 20 68 69 67 68 |pApp() i|s a high|
|00004cf0| 20 6c 65 76 65 6c 20 74 | 61 73 6b 20 74 68 61 74 | level t|ask that|
|00004d00| 20 63 61 6c 6c 73 20 74 | 68 65 20 61 70 70 72 6f | calls t|he appro|
|00004d10| 70 72 69 61 74 65 20 6c | 6f 77 2d 6c 65 76 65 6c |priate l|ow-level|
|00004d20| 20 74 61 73 6b 73 20 6e | 65 63 65 73 73 61 72 79 | tasks n|ecessary|
|00004d30| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 20 70 72 65 | to gene|rate pre|
|00004d40| 64 65 66 69 6e 65 64 20 | 51 75 69 63 6b 4c 6f 6f |defined |QuickLoo|
|00004d50| 6b 20 74 65 73 74 20 63 | 61 73 65 73 2e 20 54 68 |k test c|ases. Th|
|00004d60| 65 20 70 61 72 61 6d 65 | 74 65 72 73 20 74 6f 20 |e parame|ters to |
|00004d70| 44 6f 53 65 74 55 70 41 | 70 70 28 29 20 61 6c 6c |DoSetUpA|pp() all|
|00004d80| 6f 77 20 74 68 65 20 73 | 63 72 69 70 74 20 77 72 |ow the s|cript wr|
|00004d90| 69 74 65 72 20 74 6f 20 | 73 70 65 63 69 66 79 20 |iter to |specify |
|00004da0| 74 68 65 20 77 61 79 20 | 74 6f 20 68 61 6e 64 6c |the way |to handl|
|00004db0| 65 20 73 65 76 65 72 61 | 6c 20 61 70 70 6c 69 63 |e severa|l applic|
|00004dc0| 61 74 69 6f 6e 20 73 70 | 65 63 69 66 69 63 20 74 |ation sp|ecific t|
|00004dd0| 65 73 74 20 63 61 73 65 | 73 20 69 6e 63 6c 75 64 |est case|s includ|
|00004de0| 69 6e 67 3a 20 44 69 73 | 6d 69 73 73 69 6e 67 20 |ing: Dis|missing |
|00004df0| 61 20 64 69 61 6c 6f 67 | 20 74 68 61 74 20 61 70 |a dialog| that ap|
|00004e00| 70 65 61 72 73 20 61 66 | 74 65 72 20 6c 61 75 6e |pears af|ter laun|
|00004e10| 63 68 69 6e 67 2c 20 64 | 65 66 69 6e 65 20 77 68 |ching, d|efine wh|
|00004e20| 61 74 20 69 73 20 74 68 | 65 20 64 65 66 61 75 6c |at is th|e defaul|
|00004e30| 74 20 77 69 6e 64 6f 77 | 20 73 70 65 63 69 66 69 |t window| specifi|
|00004e40| 65 72 2c 20 74 68 65 20 | 6d 65 6e 75 20 69 74 65 |er, the |menu ite|
|00004e50| 6d 73 20 72 65 71 75 69 | 72 65 64 20 66 6f 72 20 |ms requi|red for |
|00004e60| 73 65 6c 65 63 74 69 6e | 67 20 61 20 6e 65 77 20 |selectin|g a new |
|00004e70| 64 6f 63 75 6d 65 6e 74 | 2c 20 64 69 73 6d 69 73 |document|, dismis|
|00004e80| 73 69 6e 67 20 61 6e 79 | 20 64 69 61 6c 6f 67 73 |sing any| dialogs|
|00004e90| 20 74 68 61 74 20 61 70 | 70 65 61 72 20 77 68 65 | that ap|pear whe|
|00004ea0| 6e 20 63 72 65 61 74 69 | 6e 67 20 61 20 6e 65 77 |n creati|ng a new|
|00004eb0| 20 64 6f 63 75 6d 65 6e | 74 2c 20 77 68 65 74 68 | documen|t, wheth|
|00004ec0| 65 72 20 6f 72 20 6e 6f | 74 20 74 68 65 20 61 70 |er or no|t the ap|
|00004ed0| 70 6c 69 63 61 74 69 6f | 6e 20 73 75 70 70 6f 72 |plicatio|n suppor|
|00004ee0| 74 73 20 74 65 78 74 20 | 61 6e 64 2f 6f 72 20 50 |ts text |and/or P|
|00004ef0| 49 43 54 20 63 6f 70 69 | 65 64 20 66 72 6f 6d 20 |ICT copi|ed from |
|00004f00| 74 68 65 20 73 63 72 61 | 70 62 6f 6f 6b 2c 20 41 |the scra|pbook, A|
|00004f10| 6e 64 20 77 68 65 74 68 | 65 72 20 6f 72 20 6e 6f |nd wheth|er or no|
|00004f20| 74 20 74 6f 20 73 61 76 | 65 20 74 68 65 20 64 6f |t to sav|e the do|
|00004f30| 63 75 6d 65 6e 74 2e 20 | 46 6f 72 20 6d 6f 72 65 |cument. |For more|
|00004f40| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 73 65 65 | informa|tion see|
|00004f50| 20 74 68 65 20 74 61 73 | 6b 20 68 65 61 64 65 72 | the tas|k header|
|00004f60| 20 6f 66 20 44 6f 53 65 | 74 55 70 41 70 70 28 29 | of DoSe|tUpApp()|
|00004f70| 20 69 6e 20 74 68 65 20 | 44 6f 54 61 73 6b 73 2e | in the |DoTasks.|
|00004f80| 6c 69 62 2e 0d 50 61 72 | 61 6d 65 74 65 72 73 20 |lib..Par|ameters |
|00004f90| 74 6f 20 44 6f 53 65 74 | 55 70 41 70 70 28 29 0d |to DoSet|UpApp().|
|00004fa0| 50 61 72 61 6d 65 74 65 | 72 20 09 3a 20 70 44 69 |Paramete|r .: pDi|
|00004fb0| 73 6d 69 73 73 4f 70 65 | 6e 69 6e 67 44 69 61 6c |smissOpe|ningDial|
|00004fc0| 6f 67 0d 50 61 72 61 6d | 65 74 65 72 20 54 79 70 |og.Param|eter Typ|
|00004fd0| 65 09 3a 20 69 6e 74 65 | 67 65 72 20 28 42 6f 6f |e.: inte|ger (Boo|
|00004fe0| 6c 65 61 6e 29 20 6f 72 | 20 73 74 72 69 6e 67 09 |lean) or| string.|
|00004ff0| 0d 50 61 72 61 6d 65 74 | 65 72 20 44 61 74 61 09 |.Paramet|er Data.|
|00005000| 3a 20 30 20 2d 20 4e 6f | 20 64 69 61 6c 6f 67 73 |: 0 - No| dialogs|
|00005010| 20 61 70 70 65 61 72 20 | 61 66 74 65 72 20 6c 61 | appear |after la|
|00005020| 75 6e 63 68 69 6e 67 2e | 20 0d 09 3a 20 31 20 2d |unching.| ..: 1 -|
|00005030| 20 54 79 70 65 20 72 65 | 74 75 72 6e 4b 65 79 20 | Type re|turnKey |
|00005040| 74 6f 20 64 69 73 6d 69 | 73 73 20 74 68 65 20 64 |to dismi|ss the d|
|00005050| 69 61 6c 6f 67 20 74 68 | 61 74 20 09 61 70 70 65 |ialog th|at .appe|
|00005060| 61 72 73 20 61 66 74 65 | 72 20 6c 61 75 6e 63 68 |ars afte|r launch|
|00005070| 69 6e 67 2e 0d 09 3a 20 | 53 74 72 69 6e 67 20 2d |ing...: |String -|
|00005080| 20 53 65 6c 65 63 74 20 | 62 75 74 74 6f 6e 20 3c | Select |button <|
|00005090| 73 74 72 69 6e 67 3e 20 | 74 6f 20 64 69 73 6d 69 |string> |to dismi|
|000050a0| 73 73 20 09 74 68 65 20 | 64 69 61 6c 6f 67 20 74 |ss .the |dialog t|
|000050b0| 68 61 74 20 61 70 70 65 | 61 72 73 20 61 66 74 65 |hat appe|ars afte|
|000050c0| 72 20 6c 61 75 6e 63 68 | 69 6e 67 2e 0d 41 64 64 |r launch|ing..Add|
|000050d0| 69 74 69 6f 6e 61 6c 20 | 49 6e 66 6f 09 3a 20 20 |itional |Info.: |
|000050e0| 54 68 65 72 65 20 69 73 | 20 61 20 67 6c 6f 62 61 |There is| a globa|
|000050f0| 6c 2c 20 67 43 75 73 74 | 6f 6d 4f 70 65 6e 69 6e |l, gCust|omOpenin|
|00005100| 67 44 69 61 6c 6f 67 2c | 20 20 77 68 69 63 68 20 |gDialog,| which |
|00005110| 61 6c 6c 6f 77 73 20 75 | 73 65 72 20 74 6f 20 73 |allows u|ser to s|
|00005120| 70 65 63 69 66 79 20 61 | 20 77 69 6e 64 6f 77 20 |pecify a| window |
|00005130| 64 65 73 63 72 69 70 74 | 6f 72 20 66 6f 72 20 74 |descript|or for t|
|00005140| 68 65 20 64 69 61 6c 6f | 67 20 74 6f 20 64 69 73 |he dialo|g to dis|
|00005150| 6d 69 73 73 2e 20 54 68 | 65 20 64 65 66 61 75 6c |miss. Th|e defaul|
|00005160| 74 20 64 65 73 63 72 69 | 70 74 6f 72 20 75 73 65 |t descri|ptor use|
|00005170| 64 20 69 66 20 67 6c 6f | 62 61 6c 20 67 43 75 73 |d if glo|bal gCus|
|00005180| 74 6f 6d 4f 70 65 6e 69 | 6e 67 44 69 61 6c 6f 67 |tomOpeni|ngDialog|
|00005190| 20 69 73 20 6e 6f 74 20 | 64 65 66 69 6e 65 64 20 | is not |defined |
|000051a0| 69 73 20 5b 77 69 6e 64 | 6f 77 20 6f 3a 31 20 73 |is [wind|ow o:1 s|
|000051b0| 3a 64 69 61 6c 6f 67 5d | 2e 0d 50 61 72 61 6d 65 |:dialog]|..Parame|
|000051c0| 74 65 72 20 09 3a 20 70 | 44 65 66 61 75 6c 74 57 |ter .: p|DefaultW|
|000051d0| 69 6e 64 6f 77 53 70 65 | 63 0d 50 61 72 61 6d 65 |indowSpe|c.Parame|
|000051e0| 74 65 72 20 54 79 70 65 | 09 3a 20 69 6e 74 65 67 |ter Type|.: integ|
|000051f0| 65 72 20 6f 72 20 73 74 | 72 69 6e 67 20 6f 72 20 |er or st|ring or |
|00005200| 77 69 6e 64 6f 77 20 64 | 65 73 63 72 69 70 74 6f |window d|escripto|
|00005210| 72 09 0d 50 61 72 61 6d | 65 74 65 72 20 44 61 74 |r..Param|eter Dat|
|00005220| 61 09 3a 20 2d 31 20 2d | 20 4e 6f 20 64 65 66 61 |a.: -1 -| No defa|
|00005230| 75 6c 74 20 77 69 6e 64 | 6f 77 20 74 6f 20 63 6c |ult wind|ow to cl|
|00005240| 6f 73 65 2e 0d 09 3a 20 | 30 20 2d 20 54 68 65 20 |ose...: |0 - The |
|00005250| 64 65 66 61 75 6c 74 20 | 77 69 6e 64 6f 77 20 74 |default |window t|
|00005260| 6f 20 62 65 20 63 6c 6f | 73 65 64 20 69 73 20 74 |o be clo|sed is t|
|00005270| 68 65 20 09 64 6f 63 75 | 6d 65 6e 74 20 77 69 6e |he .docu|ment win|
|00005280| 64 6f 77 2c 20 77 68 69 | 63 68 20 69 73 20 66 72 |dow, whi|ch is fr|
|00005290| 6f 6e 74 6d 6f 73 74 20 | 77 69 6e 64 6f 77 20 09 |ontmost |window .|
|000052a0| 77 68 69 63 68 20 63 6f | 6e 74 61 69 6e 73 20 61 |which co|ntains a|
|000052b0| 20 63 6c 6f 73 65 62 6f | 78 20 61 6e 64 20 61 20 | closebo|x and a |
|000052c0| 67 72 6f 77 20 62 6f 78 | 2e 20 0d 09 3a 20 69 6e |grow box|. ..: in|
|000052d0| 74 65 67 65 72 20 3e 20 | 30 20 2d 20 4f 72 64 69 |teger > |0 - Ordi|
|000052e0| 6e 61 6c 69 74 79 20 6f | 66 20 77 69 6e 64 6f 77 |nality o|f window|
|000052f0| 20 74 6f 20 62 65 20 09 | 63 6c 6f 73 65 64 2e 0d | to be .|closed..|
|00005300| 09 3a 20 73 74 72 69 6e | 67 20 2d 20 54 69 74 6c |.: strin|g - Titl|
|00005310| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 74 6f 20 62 |e of win|dow to b|
|00005320| 65 20 63 6c 6f 73 65 64 | 2e 0d 09 3a 20 64 65 73 |e closed|...: des|
|00005330| 63 72 69 70 74 6f 72 20 | 2d 20 57 69 6e 64 6f 77 |criptor |- Window|
|00005340| 20 64 65 73 63 72 69 70 | 74 6f 72 20 6f 66 20 77 | descrip|tor of w|
|00005350| 69 6e 64 6f 77 20 74 6f | 20 62 65 20 09 63 6c 6f |indow to| be .clo|
|00005360| 73 65 64 2e 0d 50 61 72 | 61 6d 65 74 65 72 20 09 |sed..Par|ameter .|
|00005370| 3a 20 70 4e 65 77 44 6f | 63 50 61 74 68 0d 50 61 |: pNewDo|cPath.Pa|
|00005380| 72 61 6d 65 74 65 72 20 | 54 79 70 65 09 3a 20 69 |rameter |Type.: i|
|00005390| 6e 74 65 67 65 72 20 6f | 72 20 6c 69 73 74 0d 50 |nteger o|r list.P|
|000053a0| 61 72 61 6d 65 74 65 72 | 20 44 61 74 61 09 3a 20 |arameter| Data.: |
|000053b0| 30 20 2d 20 44 6f 6e 27 | 74 20 6f 70 65 6e 20 61 |0 - Don'|t open a|
|000053c0| 20 6e 65 77 20 64 6f 63 | 75 6d 65 6e 74 2e 0d 09 | new doc|ument...|
|000053d0| 3a 20 6c 69 73 74 20 2d | 20 50 61 74 68 20 74 6f |: list -| Path to|
|000053e0| 20 74 68 65 20 6e 65 77 | 20 6d 65 6e 75 69 74 65 | the new| menuite|
|000053f0| 6d 20 69 6e 20 74 68 65 | 20 66 6f 72 6d 3a 20 09 |m in the| form: .|
|00005400| 7b 27 4e 65 77 27 2c 20 | 27 46 69 6c 65 27 7d 20 |{'New', |'File'} |
|00005410| 6f 72 20 7b 31 2c 32 7d | 20 77 68 65 72 65 20 31 |or {1,2}| where 1|
|00005420| 20 69 6e 64 69 63 61 74 | 65 73 20 09 74 68 65 20 | indicat|es .the |
|00005430| 6f 72 64 69 6e 61 6c 69 | 74 79 20 6f 66 20 74 68 |ordinali|ty of th|
|00005440| 65 20 6d 65 6e 75 49 74 | 65 6d 20 61 6e 64 20 32 |e menuIt|em and 2|
|00005450| 20 09 73 70 65 63 69 66 | 69 65 73 20 74 68 65 20 | .specif|ies the |
|00005460| 6f 72 64 69 6e 61 6c 69 | 74 79 20 6f 66 20 74 68 |ordinali|ty of th|
|00005470| 65 20 6d 65 6e 75 2e 20 | 20 09 4e 6f 74 65 3a 20 |e menu. | .Note: |
|00005480| 55 73 65 20 6f 66 20 6f | 72 64 69 6e 61 6c 69 74 |Use of o|rdinalit|
|00005490| 79 20 69 73 20 70 72 65 | 66 65 72 72 65 64 20 77 |y is pre|ferred w|
|000054a0| 68 65 6e 20 09 09 77 72 | 69 74 69 6e 67 20 6c 6f |hen ..wr|iting lo|
|000054b0| 63 61 6c 69 7a 61 62 6c | 65 20 73 63 72 69 70 74 |calizabl|e script|
|000054c0| 73 2e 0d 09 0d 50 61 72 | 61 6d 65 74 65 72 20 09 |s....Par|ameter .|
|000054d0| 3a 20 70 44 69 73 6d 69 | 73 73 4e 65 77 44 6f 63 |: pDismi|ssNewDoc|
|000054e0| 44 69 61 6c 6f 67 0d 50 | 61 72 61 6d 65 74 65 72 |Dialog.P|arameter|
|000054f0| 20 54 79 70 65 09 3a 20 | 69 6e 74 65 67 65 72 20 | Type.: |integer |
|00005500| 6f 72 20 73 74 72 69 6e | 67 0d 50 61 72 61 6d 65 |or strin|g.Parame|
|00005510| 74 65 72 20 44 61 74 61 | 09 3a 20 30 20 2d 20 4e |ter Data|.: 0 - N|
|00005520| 6f 20 64 69 61 6c 6f 67 | 73 20 61 70 70 65 61 72 |o dialog|s appear|
|00005530| 20 61 66 74 65 72 20 73 | 65 6c 65 63 74 69 6e 67 | after s|electing|
|00005540| 20 6e 65 77 2e 20 0d 09 | 3a 20 31 20 2d 20 54 79 | new. ..|: 1 - Ty|
|00005550| 70 65 20 72 65 74 75 72 | 6e 4b 65 79 20 74 6f 20 |pe retur|nKey to |
|00005560| 64 69 73 6d 69 73 73 20 | 74 68 65 20 64 69 61 6c |dismiss |the dial|
|00005570| 6f 67 20 74 68 61 74 20 | 09 61 70 70 65 61 72 73 |og that |.appears|
|00005580| 20 61 66 74 65 72 20 73 | 65 6c 65 63 74 69 6e 67 | after s|electing|
|00005590| 20 6e 65 77 2e 0d 09 3a | 20 53 74 72 69 6e 67 20 | new...:| String |
|000055a0| 2d 20 53 65 6c 65 63 74 | 20 62 75 74 74 6f 6e 20 |- Select| button |
|000055b0| 3c 73 74 72 69 6e 67 3e | 20 74 6f 20 64 69 73 6d |<string>| to dism|
|000055c0| 69 73 73 20 09 74 68 65 | 20 64 69 61 6c 6f 67 20 |iss .the| dialog |
|000055d0| 74 68 61 74 20 61 70 70 | 65 61 72 73 20 61 66 74 |that app|ears aft|
|000055e0| 65 72 20 73 65 6c 65 63 | 74 69 6e 67 20 09 6e 65 |er selec|ting .ne|
|000055f0| 77 2e 0d 09 0d 50 61 72 | 61 6d 65 74 65 72 20 09 |w....Par|ameter .|
|00005600| 3a 20 70 53 63 72 61 70 | 54 65 78 74 0d 50 61 72 |: pScrap|Text.Par|
|00005610| 61 6d 65 74 65 72 20 54 | 79 70 65 09 3a 20 69 6e |ameter T|ype.: in|
|00005620| 74 65 67 65 72 20 28 42 | 6f 6f 6c 65 61 6e 29 0d |teger (B|oolean).|
|00005630| 50 61 72 61 6d 65 74 65 | 72 20 44 61 74 61 09 3a |Paramete|r Data.:|
|00005640| 20 30 09 44 6f 6e 27 74 | 20 63 61 6c 6c 20 53 63 | 0.Don't| call Sc|
|00005650| 72 61 70 62 6f 6f 6b 28 | 67 6c 6f 62 61 6c 20 53 |rapbook(|global S|
|00005660| 63 72 61 70 54 65 78 74 | 29 0d 09 3a 20 31 09 43 |crapText|)..: 1.C|
|00005670| 61 6c 6c 20 53 63 72 61 | 70 62 6f 6f 6b 28 67 6c |all Scra|pbook(gl|
|00005680| 6f 62 61 6c 20 53 63 72 | 61 70 54 65 78 74 29 09 |obal Scr|apText).|
|00005690| 0d 50 61 72 61 6d 65 74 | 65 72 20 09 3a 20 70 53 |.Paramet|er .: pS|
|000056a0| 63 72 61 70 50 69 63 74 | 0d 50 61 72 61 6d 65 74 |crapPict|.Paramet|
|000056b0| 65 72 20 54 79 70 65 09 | 3a 20 69 6e 74 65 67 65 |er Type.|: intege|
|000056c0| 72 20 28 42 6f 6f 6c 65 | 61 6e 29 0d 50 61 72 61 |r (Boole|an).Para|
|000056d0| 6d 65 74 65 72 20 44 61 | 74 61 09 3a 20 30 20 2d |meter Da|ta.: 0 -|
|000056e0| 20 44 6f 6e 27 74 20 63 | 61 6c 6c 20 53 63 72 61 | Don't c|all Scra|
|000056f0| 70 62 6f 6f 6b 28 67 6c | 6f 62 61 6c 20 53 63 72 |pbook(gl|obal Scr|
|00005700| 61 70 50 69 63 74 29 0d | 09 3a 20 31 20 2d 20 43 |apPict).|.: 1 - C|
|00005710| 61 6c 6c 20 53 63 72 61 | 70 62 6f 6f 6b 28 67 6c |all Scra|pbook(gl|
|00005720| 6f 62 61 6c 20 53 63 72 | 61 70 50 69 63 74 29 09 |obal Scr|apPict).|
|00005730| 0d 50 61 72 61 6d 65 74 | 65 72 20 09 3a 20 70 53 |.Paramet|er .: pS|
|00005740| 61 76 65 44 6f 63 0d 50 | 61 72 61 6d 65 74 65 72 |aveDoc.P|arameter|
|00005750| 20 54 79 70 65 09 3a 20 | 69 6e 74 65 67 65 72 20 | Type.: |integer |
|00005760| 28 42 6f 6f 6c 65 61 6e | 29 0d 50 61 72 61 6d 65 |(Boolean|).Parame|
|00005770| 74 65 72 20 44 61 74 61 | 09 3a 20 30 20 2d 20 44 |ter Data|.: 0 - D|
|00005780| 6f 6e 27 74 20 73 61 76 | 65 20 6e 65 77 6c 79 20 |on't sav|e newly |
|00005790| 63 72 65 61 74 65 64 20 | 64 6f 63 20 76 69 61 20 |created |doc via |
|000057a0| 09 44 6f 46 69 6c 65 73 | 28 32 29 20 28 53 61 76 |.DoFiles|(2) (Sav|
|000057b0| 65 46 69 6c 65 2c 20 63 | 6c 6f 73 65 20 69 74 2c |eFile, c|lose it,|
|000057c0| 20 72 65 6f 70 65 6e 20 | 09 69 74 29 2e 0d 09 3a | reopen |.it)...:|
|000057d0| 20 31 20 2d 20 53 61 76 | 65 20 6e 65 77 6c 79 20 | 1 - Sav|e newly |
|000057e0| 63 72 65 61 74 65 64 20 | 64 6f 63 20 76 69 61 20 |created |doc via |
|000057f0| 44 6f 46 69 6c 65 73 28 | 32 29 0d 09 3a 20 7b 6c |DoFiles(|2)..: {l|
|00005800| 69 73 74 7d 20 2d 20 53 | 61 76 65 20 6e 65 77 6c |ist} - S|ave newl|
|00005810| 79 20 63 72 65 61 74 65 | 64 20 64 6f 63 20 76 69 |y create|d doc vi|
|00005820| 61 20 09 44 6f 46 69 6c | 65 73 28 32 29 20 75 73 |a .DoFil|es(2) us|
|00005830| 69 6e 67 20 3c 6c 69 73 | 74 3e 20 61 73 20 6f 72 |ing <lis|t> as or|
|00005840| 64 69 6e 61 6c 69 74 79 | 20 6f 66 20 09 53 61 76 |dinality| of .Sav|
|00005850| 65 20 41 73 20 6d 65 6e | 75 49 74 65 6d 2e 0d 50 |e As men|uItem..P|
|00005860| 61 72 61 6d 65 74 65 72 | 20 09 3a 20 70 4f 70 65 |arameter| .: pOpe|
|00005870| 6e 44 6f 63 20 28 6f 6e | 6c 79 20 63 61 6c 6c 20 |nDoc (on|ly call |
|00005880| 4f 70 65 6e 46 69 6c 65 | 28 29 20 69 66 20 73 61 |OpenFile|() if sa|
|00005890| 76 69 6e 67 20 74 68 65 | 20 09 64 6f 63 75 6d 65 |ving the| .docume|
|000058a0| 6e 74 2c 20 63 6c 6f 73 | 69 6e 67 20 69 74 20 61 |nt, clos|ing it a|
|000058b0| 6e 64 20 72 65 6f 70 65 | 6e 69 6e 67 20 69 74 2c |nd reope|ning it,|
|000058c0| 20 61 73 20 09 73 70 65 | 63 69 66 69 65 64 20 69 | as .spe|cified i|
|000058d0| 6e 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 69 |n the pr|evious i|
|000058e0| 6e 70 75 74 20 70 61 72 | 61 6d 65 74 65 72 29 0d |nput par|ameter).|
|000058f0| 50 61 72 61 6d 65 74 65 | 72 20 54 79 70 65 09 3a |Paramete|r Type.:|
|00005900| 20 69 6e 74 65 67 65 72 | 20 6f 72 20 6c 69 73 74 | integer| or list|
|00005910| 0d 50 61 72 61 6d 65 74 | 65 72 20 44 61 74 61 09 |.Paramet|er Data.|
|00005920| 3a 20 31 20 2d 20 55 73 | 65 20 73 74 72 69 6e 67 |: 1 - Us|e string|
|00005930| 73 20 27 4f 70 65 6e 27 | 20 61 6e 64 20 27 46 69 |s 'Open'| and 'Fi|
|00005940| 6c 65 27 20 66 6f 72 20 | 09 73 65 6c 65 63 74 69 |le' for |.selecti|
|00005950| 6e 67 20 74 68 65 20 27 | 4f 70 65 6e 27 20 6d 65 |ng the '|Open' me|
|00005960| 6e 75 69 74 65 6d 2e 0d | 09 3a 20 32 20 2d 20 54 |nuitem..|.: 2 - T|
|00005970| 79 70 65 20 43 6f 6d 6d | 61 6e 64 2d 27 6f 27 20 |ype Comm|and-'o' |
|00005980| 74 6f 20 73 65 6c 65 63 | 74 20 6f 70 65 6e 2e 0d |to selec|t open..|
|00005990| 09 3a 20 7b 6c 69 73 74 | 7d 20 2d 20 55 73 65 20 |.: {list|} - Use |
|000059a0| 65 6c 65 6d 65 6e 74 20 | 6f 66 20 6c 69 73 74 20 |element |of list |
|000059b0| 74 6f 20 73 65 6c 65 63 | 74 20 74 68 65 20 09 6f |to selec|t the .o|
|000059c0| 70 65 6e 20 6d 65 6e 75 | 69 74 65 6d 20 28 65 2e |pen menu|item (e.|
|000059d0| 67 2e 20 7b 33 2c 32 7d | 20 2d 20 33 72 64 20 6d |g. {3,2}| - 3rd m|
|000059e0| 65 6e 75 69 74 65 6d 20 | 09 66 72 6f 6d 20 74 68 |enuitem |.from th|
|000059f0| 65 20 32 6e 64 20 6d 65 | 6e 75 29 2e 09 0d 54 68 |e 2nd me|nu)...Th|
|00005a00| 65 72 65 20 61 72 65 20 | 6e 6f 20 72 65 74 75 72 |ere are |no retur|
|00005a10| 6e 20 76 61 6c 75 65 73 | 20 66 72 6f 6d 20 44 6f |n values| from Do|
|00005a20| 53 65 74 55 70 41 70 70 | 28 29 0d 45 78 61 6d 70 |SetUpApp|().Examp|
|00005a30| 6c 65 73 3a 0d a5 20 44 | 6f 53 65 74 55 70 41 70 |les:.. D|oSetUpAp|
|00005a40| 70 28 31 2c 30 2c 7b 22 | 4e 65 77 22 2c 22 46 69 |p(1,0,{"|New","Fi|
|00005a50| 6c 65 22 7d 2c 31 2c 31 | 2c 31 2c 31 29 3b 09 0d |le"},1,1|,1,1);..|
|00005a60| 23 20 41 66 74 65 72 20 | 6c 61 75 6e 63 68 69 6e |# After |launchin|
|00005a70| 67 20 69 74 20 77 69 6c | 6c 20 64 69 73 6d 69 73 |g it wil|l dismis|
|00005a80| 73 20 74 68 65 20 64 69 | 61 6c 6f 67 20 74 68 61 |s the di|alog tha|
|00005a90| 74 20 61 70 70 65 61 72 | 73 2c 20 74 68 65 20 64 |t appear|s, the d|
|00005aa0| 6f 63 75 6d 65 6e 74 20 | 77 69 6e 64 6f 77 20 69 |ocument |window i|
|00005ab0| 73 20 74 68 65 20 66 69 | 72 73 74 20 77 69 6e 64 |s the fi|rst wind|
|00005ac0| 6f 77 20 74 68 61 74 20 | 68 61 73 20 61 20 7a 6f |ow that |has a zo|
|00005ad0| 6f 6d 20 61 6e 64 20 61 | 20 63 6c 6f 73 65 20 62 |om and a| close b|
|00005ae0| 6f 78 2c 20 73 65 6c 65 | 63 74 20 74 68 65 20 27 |ox, sele|ct the '|
|00005af0| 4e 65 77 27 20 6d 65 6e | 75 20 69 74 65 6d 20 66 |New' men|u item f|
|00005b00| 72 6f 6d 20 74 68 65 20 | 27 46 69 6c 65 27 20 6d |rom the |'File' m|
|00005b10| 65 6e 75 2c 20 64 69 73 | 6d 69 73 73 20 74 68 65 |enu, dis|miss the|
|00005b20| 20 64 69 61 6c 6f 67 20 | 74 68 61 74 20 61 70 70 | dialog |that app|
|00005b30| 65 61 72 73 2c 20 63 6f | 70 79 20 61 6e 64 20 70 |ears, co|py and p|
|00005b40| 61 73 74 65 20 74 65 78 | 74 20 66 72 6f 6d 20 74 |aste tex|t from t|
|00005b50| 68 65 20 73 63 72 61 70 | 62 6f 6f 6b 2c 20 63 6f |he scrap|book, co|
|00005b60| 70 79 20 61 6e 64 20 70 | 61 73 74 65 20 61 20 50 |py and p|aste a P|
|00005b70| 49 43 54 20 66 72 6f 6d | 20 74 68 65 20 73 63 72 |ICT from| the scr|
|00005b80| 61 70 62 6f 6f 6b 2c 20 | 61 6e 64 20 73 61 76 65 |apbook, |and save|
|00005b90| 20 74 68 65 20 66 69 6c | 65 2e 20 09 0d a5 20 44 | the fil|e. ... D|
|00005ba0| 6f 53 65 74 55 70 41 70 | 70 28 30 2c 31 2c 7b 22 |oSetUpAp|p(0,1,{"|
|00005bb0| 4e 65 77 20 46 69 6c 65 | 22 2c 22 44 6f 63 75 6d |New File|","Docum|
|00005bc0| 65 6e 74 22 7d 2c 20 30 | 2c 20 30 2c 30 2c 30 20 |ent"}, 0|, 0,0,0 |
|00005bd0| 29 3b 0d 09 0d 23 20 41 | 66 74 65 72 20 6c 61 75 |);...# A|fter lau|
|00005be0| 6e 63 68 69 6e 67 20 74 | 68 65 72 65 20 73 68 6f |nching t|here sho|
|00005bf0| 75 6c 64 6e 27 74 20 62 | 65 20 61 20 64 69 61 6c |uldn't b|e a dial|
|00005c00| 6f 67 20 74 68 61 74 20 | 61 70 70 65 61 72 73 2c |og that |appears,|
|00005c10| 20 73 65 6c 65 63 74 20 | 74 68 65 20 27 4e 65 77 | select |the 'New|
|00005c20| 20 46 69 6c 65 27 20 6d | 65 6e 75 20 69 74 65 6d | File' m|enu item|
|00005c30| 20 66 72 6f 6d 20 74 68 | 65 20 27 44 6f 63 75 6d | from th|e 'Docum|
|00005c40| 65 6e 74 27 20 6d 65 6e | 75 2c 20 74 68 65 20 64 |ent' men|u, the d|
|00005c50| 6f 63 75 6d 65 6e 74 20 | 77 69 6e 64 6f 77 20 69 |ocument |window i|
|00005c60| 73 20 6f 72 64 69 6e 61 | 6c 69 74 79 20 31 20 62 |s ordina|lity 1 b|
|00005c70| 75 74 20 6e 6f 74 20 74 | 68 65 20 66 69 72 73 74 |ut not t|he first|
|00005c80| 20 6f 6e 65 20 77 69 74 | 68 20 61 20 7a 6f 6f 6d | one wit|h a zoom|
|00005c90| 20 61 6e 64 20 63 6c 6f | 73 65 20 62 6f 78 2c 20 | and clo|se box, |
|00005ca0| 6e 6f 20 64 69 61 6c 6f | 67 20 73 68 6f 75 6c 64 |no dialo|g should|
|00005cb0| 20 61 70 70 65 61 72 20 | 61 66 74 65 72 20 73 65 | appear |after se|
|00005cc0| 6c 65 63 74 69 6e 67 20 | 27 4e 65 77 20 46 69 6c |lecting |'New Fil|
|00005cd0| 65 27 2c 20 69 74 20 77 | 69 6c 6c 20 6e 6f 74 20 |e', it w|ill not |
|00005ce0| 63 6f 70 79 20 61 6e 64 | 20 70 61 73 74 65 20 74 |copy and| paste t|
|00005cf0| 65 78 74 20 6f 72 20 61 | 20 50 49 43 54 20 66 72 |ext or a| PICT fr|
|00005d00| 6f 6d 20 74 68 65 20 73 | 63 72 61 70 62 6f 6f 6b |om the s|crapbook|
|00005d10| 2c 20 61 6e 64 20 69 74 | 20 77 69 6c 6c 20 6e 6f |, and it| will no|
|00005d20| 74 20 73 61 76 65 20 74 | 68 65 20 66 69 6c 65 2e |t save t|he file.|
|00005d30| 0d a5 20 44 6f 53 65 74 | 55 70 41 70 70 28 31 2c |.. DoSet|UpApp(1,|
|00005d40| 30 2c 7b 22 4e 65 77 22 | 2c 22 46 69 6c 65 22 7d |0,{"New"|,"File"}|
|00005d50| 2c 31 2c 31 2c 31 2c 7b | 35 2c 32 7d 2c 20 7b 32 |,1,1,1,{|5,2}, {2|
|00005d60| 2c 32 7d 29 3b 0d 09 23 | 20 41 66 74 65 72 20 6c |,2});..#| After l|
|00005d70| 61 75 6e 63 68 69 6e 67 | 20 74 68 65 20 61 70 70 |aunching| the app|
|00005d80| 6c 69 63 61 74 69 6f 6e | 2c 20 74 68 65 20 64 69 |lication|, the di|
|00005d90| 61 6c 6f 67 20 74 68 61 | 74 20 61 70 70 65 61 72 |alog tha|t appear|
|00005da0| 73 20 77 69 6c 6c 20 62 | 65 20 64 69 73 6d 69 73 |s will b|e dismis|
|00005db0| 73 65 64 20 62 79 20 74 | 79 70 69 6e 67 20 74 68 |sed by t|yping th|
|00005dc0| 65 20 72 65 74 75 72 6e | 4b 65 79 2c 20 74 68 65 |e return|Key, the|
|00005dd0| 20 64 6f 63 75 6d 65 6e | 74 20 77 69 6e 64 6f 77 | documen|t window|
|00005de0| 20 77 69 6c 6c 20 62 65 | 20 63 6c 6f 73 65 64 2c | will be| closed,|
|00005df0| 20 73 65 6c 65 63 74 20 | 74 68 65 20 27 4e 65 77 | select |the 'New|
|00005e00| 27 20 6d 65 6e 75 20 69 | 74 65 6d 20 66 72 6f 6d |' menu i|tem from|
|00005e10| 20 74 68 65 20 27 46 69 | 6c 65 27 20 6d 65 6e 75 | the 'Fi|le' menu|
|00005e20| 2c 20 64 69 73 6d 69 73 | 73 20 74 68 65 20 64 69 |, dismis|s the di|
|00005e30| 61 6c 6f 67 20 74 68 61 | 74 20 61 70 70 65 61 72 |alog tha|t appear|
|00005e40| 73 2c 20 63 6f 70 79 20 | 61 6e 64 20 70 61 73 74 |s, copy |and past|
|00005e50| 65 20 54 45 58 54 20 66 | 72 6f 6d 20 74 68 65 20 |e TEXT f|rom the |
|00005e60| 73 63 72 61 70 62 6f 6f | 6b 2c 20 63 6f 70 79 20 |scrapboo|k, copy |
|00005e70| 61 6e 64 20 70 61 73 74 | 65 20 61 20 50 49 43 54 |and past|e a PICT|
|00005e80| 20 66 72 6f 6d 20 74 68 | 65 20 73 63 72 61 70 62 | from th|e scrapb|
|00005e90| 6f 6f 6b 2c 20 61 6e 64 | 20 73 61 76 65 20 74 68 |ook, and| save th|
|00005ea0| 65 20 66 69 6c 65 20 28 | 27 53 61 76 65 20 41 73 |e file (|'Save As|
|00005eb0| c9 27 20 69 73 20 6d 65 | 6e 75 69 74 65 6d 20 7b |.' is me|nuitem {|
|00005ec0| 35 2c 32 7d 29 2c 20 63 | 6c 6f 73 65 20 69 74 20 |5,2}), c|lose it |
|00005ed0| 61 6e 64 20 72 65 6f 70 | 65 6e 20 69 74 20 28 27 |and reop|en it ('|
|00005ee0| 4f 70 65 6e c9 27 20 69 | 73 20 6d 65 6e 75 69 74 |Open.' i|s menuit|
|00005ef0| 65 6d 20 7b 32 2c 32 7d | 29 2e 20 0d 32 29 20 45 |em {2,2}|). .2) E|
|00005f00| 78 65 72 63 69 73 65 20 | 44 72 61 77 69 6e 67 20 |xercise |Drawing |
|00005f10| 54 6f 6f 6c 73 20 20 2d | 20 28 73 65 65 20 50 65 |Tools -| (see Pe|
|00005f20| 72 66 6f 72 6d 69 6e 67 | 20 44 72 61 77 20 4f 70 |rforming| Draw Op|
|00005f30| 65 72 61 74 69 6f 6e 73 | 29 0d 4e 6f 74 65 3a 20 |erations|).Note: |
|00005f40| 75 73 69 6e 67 20 4d 6f | 75 73 65 54 72 61 70 70 |using Mo|useTrapp|
|00005f50| 65 72 20 6d 61 79 20 67 | 72 65 61 74 6c 79 20 65 |er may g|reatly e|
|00005f60| 6e 68 61 6e 63 65 20 79 | 6f 75 72 20 61 62 69 6c |nhance y|our abil|
|00005f70| 69 74 79 20 74 6f 20 64 | 65 66 69 6e 65 20 74 68 |ity to d|efine th|
|00005f80| 65 20 44 72 61 77 20 73 | 74 72 75 63 74 75 72 65 |e Draw s|tructure|
|00005f90| 73 2e 0d 33 29 20 45 78 | 65 72 63 69 73 65 20 54 |s..3) Ex|ercise T|
|00005fa0| 65 78 74 20 45 6e 74 72 | 79 20 20 2d 20 28 73 65 |ext Entr|y - (se|
|00005fb0| 65 20 45 78 65 72 63 69 | 73 69 6e 67 20 46 6f 6e |e Exerci|sing Fon|
|00005fc0| 74 73 29 0d 34 29 20 45 | 78 65 72 63 69 73 65 20 |ts).4) E|xercise |
|00005fd0| 57 69 6e 64 6f 77 73 20 | 20 2d 20 28 73 65 65 20 |Windows | - (see |
|00005fe0| 45 78 65 72 63 69 73 69 | 6e 67 20 57 69 6e 64 6f |Exercisi|ng Windo|
|00005ff0| 77 20 46 65 61 74 75 72 | 65 73 29 0d 35 29 20 41 |w Featur|es).5) A|
|00006000| 70 70 6c 69 63 61 74 69 | 6f 6e 20 63 6f 6d 70 6c |pplicati|on compl|
|00006010| 65 74 69 6f 6e 20 72 6f | 75 74 69 6e 65 73 20 2d |etion ro|utines -|
|00006020| 20 44 6f 43 6c 6f 73 65 | 41 70 70 28 29 0d 44 6f | DoClose|App().Do|
|00006030| 43 6c 6f 73 65 41 70 70 | 28 70 53 61 76 65 52 65 |CloseApp|(pSaveRe|
|00006040| 76 65 72 74 2c 20 70 44 | 69 73 6d 69 73 73 41 62 |vert, pD|ismissAb|
|00006050| 6f 75 74 42 6f 78 2c 20 | 70 50 61 67 65 53 65 74 |outBox, |pPageSet|
|00006060| 75 70 2c 20 70 50 72 69 | 6e 74 65 72 2c 20 70 51 |up, pPri|nter, pQ|
|00006070| 75 69 74 29 0d 44 6f 43 | 6c 6f 73 65 55 70 41 70 |uit).DoC|loseUpAp|
|00006080| 70 28 29 20 69 73 20 61 | 20 68 69 67 68 20 6c 65 |p() is a| high le|
|00006090| 76 65 6c 20 74 61 73 6b | 20 74 68 61 74 20 63 61 |vel task| that ca|
|000060a0| 6c 6c 73 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 |lls the |appropri|
|000060b0| 61 74 65 20 6c 6f 77 2d | 6c 65 76 65 6c 20 74 61 |ate low-|level ta|
|000060c0| 73 6b 73 20 6e 65 63 65 | 73 73 61 72 79 20 74 6f |sks nece|ssary to|
|000060d0| 20 67 65 6e 65 72 61 74 | 65 20 70 72 65 64 65 66 | generat|e predef|
|000060e0| 69 6e 65 64 20 51 75 69 | 63 6b 4c 6f 6f 6b 20 74 |ined Qui|ckLook t|
|000060f0| 65 73 74 20 63 61 73 65 | 73 2e 20 54 68 65 20 70 |est case|s. The p|
|00006100| 61 72 61 6d 65 74 65 72 | 73 20 74 6f 20 44 6f 43 |arameter|s to DoC|
|00006110| 6c 6f 73 65 41 70 70 28 | 29 20 61 6c 6c 6f 77 20 |loseApp(|) allow |
|00006120| 74 68 65 20 73 63 72 69 | 70 74 20 77 72 69 74 65 |the scri|pt write|
|00006130| 72 20 74 6f 20 73 70 65 | 63 69 66 79 20 74 68 65 |r to spe|cify the|
|00006140| 20 77 61 79 20 74 6f 20 | 68 61 6e 64 6c 65 20 73 | way to |handle s|
|00006150| 65 76 65 72 61 6c 20 61 | 70 70 6c 69 63 61 74 69 |everal a|pplicati|
|00006160| 6f 6e 20 73 70 65 63 69 | 66 69 63 20 74 65 73 74 |on speci|fic test|
|00006170| 20 63 61 73 65 73 20 69 | 6e 63 6c 75 64 69 6e 67 | cases i|ncluding|
|00006180| 3a 20 53 61 76 65 20 61 | 20 64 6f 63 75 6d 65 6e |: Save a| documen|
|00006190| 74 2c 20 6d 6f 64 69 66 | 79 20 69 74 20 61 6e 64 |t, modif|y it and|
|000061a0| 20 74 68 65 6e 20 72 65 | 76 65 72 74 20 74 6f 20 | then re|vert to |
|000061b0| 74 68 65 20 6c 61 73 74 | 20 73 61 76 65 20 76 65 |the last| save ve|
|000061c0| 72 73 69 6f 6e 2c 20 57 | 68 65 74 68 65 72 20 6f |rsion, W|hether o|
|000061d0| 72 20 6e 6f 74 20 69 74 | 20 69 73 20 70 6f 73 73 |r not it| is poss|
|000061e0| 69 62 6c 65 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |ible to |display |
|000061f0| 74 68 65 20 61 62 6f 75 | 74 20 62 6f 78 20 61 6e |the abou|t box an|
|00006200| 64 20 64 69 73 6d 69 73 | 73 20 69 74 2c 20 77 68 |d dismis|s it, wh|
|00006210| 65 74 68 65 72 20 6f 72 | 20 6e 6f 74 20 74 6f 20 |ether or| not to |
|00006220| 74 65 73 74 20 50 61 67 | 65 20 53 65 74 75 70 20 |test Pag|e Setup |
|00006230| 61 6e 64 2f 6f 72 20 20 | 50 72 69 6e 74 2e 20 46 |and/or |Print. F|
|00006240| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|00006250| 69 6f 6e 2c 20 73 65 65 | 20 74 68 65 20 74 61 73 |ion, see| the tas|
|00006260| 6b 20 68 65 61 64 65 72 | 20 6f 66 20 44 6f 43 6c |k header| of DoCl|
|00006270| 6f 73 65 41 70 70 28 29 | 20 69 6e 20 74 68 65 20 |oseApp()| in the |
|00006280| 44 6f 54 61 73 6b 73 2e | 6c 69 62 2e 0d 50 61 72 |DoTasks.|lib..Par|
|00006290| 61 6d 65 74 65 72 73 20 | 74 6f 20 44 6f 43 6c 6f |ameters |to DoClo|
|000062a0| 73 65 41 70 70 28 29 0d | 50 61 72 61 6d 65 74 65 |seApp().|Paramete|
|000062b0| 72 20 09 3a 20 70 53 61 | 76 65 52 65 76 65 72 74 |r .: pSa|veRevert|
|000062c0| 0d 50 61 72 61 6d 65 74 | 65 72 20 54 79 70 65 09 |.Paramet|er Type.|
|000062d0| 3a 20 69 6e 74 65 67 65 | 72 20 6f 72 20 6c 69 73 |: intege|r or lis|
|000062e0| 74 0d 50 61 72 61 6d 65 | 74 65 72 20 44 61 74 61 |t.Parame|ter Data|
|000062f0| 09 3a 20 30 20 2d 20 53 | 61 76 65 20 41 73 2f 43 |.: 0 - S|ave As/C|
|00006300| 61 6e 63 65 6c 2f 53 61 | 76 65 2c 20 6e 6f 20 6d |ancel/Sa|ve, no m|
|00006310| 6f 64 69 66 79 2f 72 65 | 76 65 72 74 20 0d 09 3a |odify/re|vert ..:|
|00006320| 20 31 20 2d 20 53 61 76 | 65 20 41 73 2f 43 61 6e | 1 - Sav|e As/Can|
|00006330| 63 65 6c 2f 53 61 76 65 | 2c 20 6d 6f 64 69 66 79 |cel/Save|, modify|
|00006340| 2f 72 65 76 65 72 74 0d | 09 3a 20 2d 31 20 2d 20 |/revert.|.: -1 - |
|00006350| 6e 6f 20 53 61 76 65 20 | 41 73 2f 43 61 6e 63 65 |no Save |As/Cance|
|00006360| 6c 2f 53 61 76 65 2c 20 | 6e 6f 20 6d 6f 64 69 66 |l/Save, |no modif|
|00006370| 79 2f 72 65 76 65 72 74 | 0d 09 3a 20 6c 69 73 74 |y/revert|..: list|
|00006380| 20 2d 20 74 77 6f 20 65 | 6c 65 6d 65 6e 74 73 0d | - two e|lements.|
|00006390| 09 09 31 73 74 20 65 6c | 65 6d 65 6e 74 20 20 0d |..1st el|ement .|
|000063a0| 09 09 09 6c 69 73 74 20 | 2d 20 6c 69 73 74 20 63 |...list |- list c|
|000063b0| 6f 6e 74 61 69 6e 69 6e | 67 20 6f 72 64 69 6e 61 |ontainin|g ordina|
|000063c0| 6c 69 74 79 20 6f 66 20 | 09 09 27 52 65 76 65 72 |lity of |..'Rever|
|000063d0| 74 27 20 6d 65 6e 75 49 | 74 65 6d 2e 20 0d 09 09 |t' menuI|tem. ...|
|000063e0| 09 69 6e 74 65 67 65 72 | 20 2d 20 41 6e 79 20 6f |.integer| - Any o|
|000063f0| 66 20 74 68 65 20 70 53 | 61 76 65 52 65 76 65 72 |f the pS|aveRever|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.